#7D4CED#7D4CED

#7D4CED is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.228 H 291.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7D4CED
RGBrgb(125, 76, 237)
HSLhsl(258, 82%, 61%)
HSVhsv(258, 68%, 93%)
CMYKcmyk(47.3%, 67.9%, 0%, 7.1%)
CIE-LABlab(46.50, 56.51, -74.01)
CIE-LCHlch(46.50, 93.12, 307.37°)
OKLaboklab(56.36% 0.0827 -0.2121)
OKLCHoklch(56.36% 0.228 291.3)
XYZxyz(26.3236, 15.6423, 81.7366)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CED #BCED4C
analogous
#4C6CED #7D4CED #CE4CED
triadic
#7D4CED #ED7D4C #4CED7D
tetradic
#7D4CED #ED4C6C #BCED4C #4CEDCE
square
#7D4CED #ED4C6C #BCED4C #4CEDCE
split-complementary
#7D4CED #EDCE4C #6CED4C
monochromatic
#4111AD #5617E5 #7D4CED #A584F3 #CEBBF8

Accessibility & contrast

On white

5.09
#7D4CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7D4CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CED#FFFFFF#000000##FFFFFF
##7D4CED1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#597497
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d4ced;
/* rgb */ color: rgb(125, 76, 237);
/* oklch */ color: oklch(56.4% 0.228 291.3);
Tailwind
colors: {
  custom: {
    50: '#ab81f4',
    500: '#7d4ced',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ced;
$custom-light: #ab81f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ced",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 258.261,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.22766,
    "h": 291.3
  },
  "luminance": 0.15643
}

Semantic roles & 50–950 ramp

primary
#7D4CED
secondary
#D6E8AC
accent
#DE079D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4CED

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

Preview Lab → · Contrast checker → · Palette generator →

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