#9F77EB#9F77EB

#9F77EB is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.9% C 0.169 H 297.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9F77EB
RGBrgb(159, 119, 235)
HSLhsl(261, 74%, 69%)
HSVhsv(261, 49%, 92%)
CMYKcmyk(32.3%, 49.4%, 0%, 7.8%)
CIE-LABlab(58.57, 39.97, -53.26)
CIE-LCHlch(58.57, 66.59, 306.89°)
OKLaboklab(65.92% 0.0781 -0.1502)
OKLCHoklch(65.92% 0.169 297.5)
XYZxyz(35.8866, 26.5623, 81.8175)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F77EB #C3EB77
analogous
#7789EB #9F77EB #D977EB
triadic
#9F77EB #EB9F77 #77EB9F
tetradic
#9F77EB #EB7789 #C3EB77 #77EBD9
square
#9F77EB #EB7789 #C3EB77 #77EBD9
split-complementary
#9F77EB #EBD977 #89EB77
monochromatic
#591ECA #7942E3 #9F77EB #C5ACF3 #EAE2FB

Accessibility & contrast

On white

3.33
#9F77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9F77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F77EB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F77EB#FFFFFF#000000##000000
##9F77EB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#8F8DA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f77eb;
/* rgb */ color: rgb(159, 119, 235);
/* oklch */ color: oklch(65.9% 0.169 297.5);
Tailwind
colors: {
  custom: {
    50: '#bf9ff2',
    500: '#9f77eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f77eb;
$custom-light: #bf9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f77eb",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 260.69,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.16926,
    "h": 297.5
  },
  "luminance": 0.26563
}

Semantic roles & 50–950 ramp

primary
#9F77EB
secondary
#E4F0CE
accent
#D60F92
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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