#9D7CFB#9D7CFB

#9D7CFB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.182 H 292.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D7CFB
RGBrgb(157, 124, 251)
HSLhsl(256, 94%, 74%)
HSVhsv(256, 51%, 98%)
CMYKcmyk(37.5%, 50.6%, 0%, 1.6%)
CIE-LABlab(60.38, 40.79, -59.24)
CIE-LCHlch(60.38, 71.92, 304.55°)
OKLaboklab(67.52% 0.0707 -0.1677)
OKLCHoklch(67.52% 0.182 292.8)
XYZxyz(38.5203, 28.5475, 94.7288)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7CFB #DAFB7C
analogous
#7C9AFB #9D7CFB #DD7CFB
triadic
#9D7CFB #FB9D7C #7CFB9D
tetradic
#9D7CFB #FB7C9A #DAFB7C #7CFBDD
square
#9D7CFB #FB7C9A #DAFB7C #7CFBDD
split-complementary
#9D7CFB #FBDD7C #9AFB7C
monochromatic
#4507F5 #7141F9 #9D7CFB #C9B7FD #E9E1FE

Accessibility & contrast

On white

3.13
#9D7CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9D7CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7CFB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7CFB#FFFFFF#000000##000000
##9D7CFB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#8596B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d7cfb;
/* rgb */ color: rgb(157, 124, 251);
/* oklch */ color: oklch(67.5% 0.182 292.8);
Tailwind
colors: {
  custom: {
    50: '#bea2fd',
    500: '#9d7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #9d7cfb;
$custom-light: #bea2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7cfb",
  "rgb": {
    "r": 157,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 255.591,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.18202,
    "h": 292.8
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#9D7CFB
secondary
#EEF6D5
accent
#E600AA
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9D7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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