#9D7DFD#9D7DFD

#9D7DFD is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.183 H 292.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9D7DFD
RGBrgb(157, 125, 253)
HSLhsl(255, 97%, 74%)
HSVhsv(255, 51%, 99%)
CMYKcmyk(37.9%, 50.6%, 0%, 0.8%)
CIE-LABlab(60.72, 40.75, -59.80)
CIE-LCHlch(60.72, 72.37, 304.27°)
OKLaboklab(67.8% 0.0696 -0.1694)
OKLCHoklch(67.8% 0.183 292.3)
XYZxyz(38.9631, 28.9262, 96.4399)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7DFD #DDFD7D
analogous
#7D9DFD #9D7DFD #DD7DFD
triadic
#9D7DFD #FD9D7D #7DFD9D
tetradic
#9D7DFD #FD7D9D #DDFD7D #7DFDDD
square
#9D7DFD #FD7D9D #DDFD7D #7DFDDD
split-complementary
#9D7DFD #FDDD7D #9DFD7D
monochromatic
#4204FB #7041FC #9D7DFD #CAB9FE #E8E1FF

Accessibility & contrast

On white

3.09
#9D7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9D7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7DFD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7DFD#FFFFFF#000000##000000
##9D7DFD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#8497B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d7dfd;
/* rgb */ color: rgb(157, 125, 253);
/* oklch */ color: oklch(67.8% 0.183 292.3);
Tailwind
colors: {
  custom: {
    50: '#bea3ff',
    500: '#9d7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9d7dfd;
$custom-light: #bea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7dfd",
  "rgb": {
    "r": 157,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 255,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67804,
    "c": 0.18313,
    "h": 292.3
  },
  "luminance": 0.28927
}

Semantic roles & 50–950 ramp

primary
#9D7DFD
secondary
#EEF7D4
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9D7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

#9D7DFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva