#9F76F2#9F76F2

#9F76F2 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.180 H 296.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9F76F2
RGBrgb(159, 118, 242)
HSLhsl(260, 83%, 71%)
HSVhsv(260, 51%, 95%)
CMYKcmyk(34.3%, 51.2%, 0%, 5.1%)
CIE-LABlab(58.73, 42.31, -56.89)
CIE-LCHlch(58.73, 70.90, 306.64°)
OKLaboklab(66.17% 0.0799 -0.1608)
OKLCHoklch(66.17% 0.18 296.4)
XYZxyz(36.7995, 26.7380, 87.2093)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F76F2 #C9F276
analogous
#768BF2 #9F76F2 #DD76F2
triadic
#9F76F2 #F29F76 #76F29F
tetradic
#9F76F2 #F2768B #C9F276 #76F2DD
square
#9F76F2 #F2768B #C9F276 #76F2DD
split-complementary
#9F76F2 #F2DD76 #8BF276
monochromatic
#5615D9 #783EED #9F76F2 #C6AEF7 #EBE3FC

Accessibility & contrast

On white

3.31
#9F76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9F76F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F76F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F76F2#FFFFFF#000000##000000
##9F76F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#8C8EA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f76f2;
/* rgb */ color: rgb(159, 118, 242);
/* oklch */ color: oklch(66.2% 0.180 296.4);
Tailwind
colors: {
  custom: {
    50: '#bf9ef7',
    500: '#9f76f2',
    950: '#000000',
  },
}
SCSS
$custom: #9f76f2;
$custom-light: #bf9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f76f2",
  "rgb": {
    "r": 159,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 259.839,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66171,
    "c": 0.17957,
    "h": 296.4
  },
  "luminance": 0.26739
}

Semantic roles & 50–950 ramp

primary
#9F76F2
secondary
#E8F3D1
accent
#DF0697
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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