#9F7DFD#9F7DFD

#9F7DFD is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.183 H 293.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F7DFD
RGBrgb(159, 125, 253)
HSLhsl(256, 97%, 74%)
HSVhsv(256, 51%, 99%)
CMYKcmyk(37.2%, 50.6%, 0%, 0.8%)
CIE-LABlab(60.90, 41.23, -59.51)
CIE-LCHlch(60.90, 72.39, 304.72°)
OKLaboklab(67.98% 0.072 -0.1685)
OKLCHoklch(67.98% 0.183 293.1)
XYZxyz(39.3566, 29.1291, 96.4584)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7DFD #DBFD7D
analogous
#7D9BFD #9F7DFD #DF7DFD
triadic
#9F7DFD #FD9F7D #7DFD9F
tetradic
#9F7DFD #FD7D9B #DBFD7D #7DFDDF
square
#9F7DFD #FD7D9B #DBFD7D #7DFDDF
split-complementary
#9F7DFD #FDDF7D #9BFD7D
monochromatic
#4604FB #7241FC #9F7DFD #CCB9FE #E9E1FF

Accessibility & contrast

On white

3.08
#9F7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9F7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7DFD
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7DFD#FFFFFF#000000##000000
##9F7DFD1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#8797B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f7dfd;
/* rgb */ color: rgb(159, 125, 253);
/* oklch */ color: oklch(68.0% 0.183 293.1);
Tailwind
colors: {
  custom: {
    50: '#c0a3ff',
    500: '#9f7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9f7dfd;
$custom-light: #c0a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7dfd",
  "rgb": {
    "r": 159,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 255.938,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6798,
    "c": 0.18321,
    "h": 293.1
  },
  "luminance": 0.2913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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