#7D4CE2#7D4CE2

#7D4CE2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.215 H 293.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7D4CE2
RGBrgb(125, 76, 226)
HSLhsl(260, 72%, 59%)
HSVhsv(260, 66%, 89%)
CMYKcmyk(44.7%, 66.4%, 0%, 11.4%)
CIE-LABlab(45.66, 53.58, -69.16)
CIE-LCHlch(45.66, 87.48, 307.77°)
OKLaboklab(55.49% 0.0843 -0.1979)
OKLCHoklch(55.49% 0.215 293.1)
XYZxyz(24.7656, 15.0191, 73.5309)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CE2 #B1E24C
analogous
#4C66E2 #7D4CE2 #C84CE2
triadic
#7D4CE2 #E27D4C #4CE27D
tetradic
#7D4CE2 #E24C66 #B1E24C #4CE2C8
square
#7D4CE2 #E24C66 #B1E24C #4CE2C8
split-complementary
#7D4CE2 #E2C84C #66E24C
monochromatic
#43199B #5A22CF #7D4CE2 #A381EB #CAB5F3

Accessibility & contrast

On white

5.24
#7D4CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7D4CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CE2#FFFFFF#000000##FFFFFF
##7D4CE21.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#607091
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4ce2;
/* rgb */ color: rgb(125, 76, 226);
/* oklch */ color: oklch(55.5% 0.215 293.1);
Tailwind
colors: {
  custom: {
    50: '#aa81ec',
    500: '#7d4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ce2;
$custom-light: #aa81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ce2",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 259.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5549,
    "c": 0.21509,
    "h": 293.1
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#7D4CE2
secondary
#CFE2A8
accent
#EF39B3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7D4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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