#9C7DFD#9C7DFD

#9C7DFD is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.183 H 291.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C7DFD
RGBrgb(156, 125, 253)
HSLhsl(255, 97%, 74%)
HSVhsv(255, 51%, 99%)
CMYKcmyk(38.3%, 50.6%, 0%, 0.8%)
CIE-LABlab(60.63, 40.52, -59.95)
CIE-LCHlch(60.63, 72.36, 304.05°)
OKLaboklab(67.72% 0.0684 -0.1698)
OKLCHoklch(67.72% 0.183 291.9)
XYZxyz(38.7688, 28.8260, 96.4308)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7DFD #DEFD7D
analogous
#7D9EFD #9C7DFD #DC7DFD
triadic
#9C7DFD #FD9C7D #7DFD9C
tetradic
#9C7DFD #FD7D9E #DEFD7D #7DFDDC
square
#9C7DFD #FD7D9E #DEFD7D #7DFDDC
split-complementary
#9C7DFD #FDDC7D #9EFD7D
monochromatic
#4004FB #6E41FC #9C7DFD #CAB9FE #E8E1FF

Accessibility & contrast

On white

3.10
#9C7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9C7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7DFD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7DFD#FFFFFF#000000##000000
##9C7DFD1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8397B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9c7dfd;
/* rgb */ color: rgb(156, 125, 253);
/* oklch */ color: oklch(67.7% 0.183 291.9);
Tailwind
colors: {
  custom: {
    50: '#bea3ff',
    500: '#9c7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9c7dfd;
$custom-light: #bea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7dfd",
  "rgb": {
    "r": 156,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 254.531,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67717,
    "c": 0.1831,
    "h": 291.9
  },
  "luminance": 0.28827
}

Semantic roles & 50–950 ramp

primary
#9C7DFD
secondary
#EEF7D4
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9C7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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