#7D45AE#7D45AE

#7D45AE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.164 H 306.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7D45AE
RGBrgb(125, 69, 174)
HSLhsl(272, 43%, 48%)
HSVhsv(272, 60%, 68%)
CMYKcmyk(28.2%, 60.3%, 0%, 31.8%)
CIE-LABlab(40.69, 43.96, -47.07)
CIE-LCHlch(40.69, 64.40, 313.05°)
OKLaboklab(50.75% 0.0964 -0.1329)
OKLCHoklch(50.75% 0.164 306)
XYZxyz(18.2239, 11.6724, 41.3291)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45AE #76AE45
analogous
#4845AE #7D45AE #AE45AA
triadic
#7D45AE #AE7D45 #45AE7D
tetradic
#7D45AE #AE4845 #76AE45 #45AAAE
square
#7D45AE #AE4845 #76AE45 #45AAAE
split-complementary
#7D45AE #AAAE45 #45AE48
monochromatic
#3E2256 #5E3482 #7D45AE #9B6CC5 #B997D6

Accessibility & contrast

On white

6.30
#7D45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45AE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45AE#FFFFFF#000000##FFFFFF
##7D45AE1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#755A73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d45ae;
/* rgb */ color: rgb(125, 69, 174);
/* oklch */ color: oklch(50.8% 0.164 306.0);
Tailwind
colors: {
  custom: {
    50: '#a67bc7',
    500: '#7d45ae',
    950: '#000000',
  },
}
SCSS
$custom: #7d45ae;
$custom-light: #a67bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45ae",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 272,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.16422,
    "h": 306
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#7D45AE
secondary
#A6C28D
accent
#D35590
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D45AE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D45AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva