#9F6EFD#9F6EFD

#9F6EFD is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.6% C 0.204 H 296.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F6EFD
RGBrgb(159, 110, 253)
HSLhsl(261, 97%, 71%)
HSVhsv(261, 57%, 99%)
CMYKcmyk(37.2%, 56.5%, 0%, 0.8%)
CIE-LABlab(57.67, 49.50, -64.68)
CIE-LCHlch(57.67, 81.45, 307.43°)
OKLaboklab(65.59% 0.0899 -0.1837)
OKLCHoklch(65.59% 0.205 296.1)
XYZxyz(37.5991, 25.6140, 95.8725)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6EFD #CCFD6E
analogous
#6E84FD #9F6EFD #E66EFD
triadic
#9F6EFD #FD9F6E #6EFD9F
tetradic
#9F6EFD #FD6E84 #CCFD6E #6EFDE6
square
#9F6EFD #FD6E84 #CCFD6E #6EFDE6
split-complementary
#9F6EFD #FDE66E #84FD6E
monochromatic
#5303ED #7732FC #9F6EFD #C7AAFE #EBE1FF

Accessibility & contrast

On white

3.43
#9F6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9F6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6EFD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6EFD#FFFFFF#000000##000000
##9F6EFD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#228BFF
Deuteranopia (green-blind)
#3789FA
Tritanopia (blue-blind)
#888CAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f6efd;
/* rgb */ color: rgb(159, 110, 253);
/* oklch */ color: oklch(65.6% 0.204 296.1);
Tailwind
colors: {
  custom: {
    50: '#c099ff',
    500: '#9f6efd',
    950: '#000000',
  },
}
SCSS
$custom: #9f6efd;
$custom-light: #c099ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6efd",
  "rgb": {
    "r": 159,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 260.559,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65592,
    "c": 0.2045,
    "h": 296.1
  },
  "luminance": 0.25615
}

Semantic roles & 50–950 ramp

primary
#9F6EFD
secondary
#E9F6D1
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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