#9F77FB#9F77FB

#9F77FB is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.189 H 294.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9F77FB
RGBrgb(159, 119, 251)
HSLhsl(258, 94%, 73%)
HSVhsv(258, 53%, 98%)
CMYKcmyk(36.7%, 52.6%, 0%, 1.6%)
CIE-LABlab(59.46, 44.06, -60.70)
CIE-LCHlch(59.46, 75.00, 305.97°)
OKLaboklab(66.88% 0.0792 -0.172)
OKLCHoklch(66.88% 0.189 294.7)
XYZxyz(38.3030, 27.5288, 94.5436)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F77FB #D3FB77
analogous
#7791FB #9F77FB #E177FB
triadic
#9F77FB #FB9F77 #77FB9F
tetradic
#9F77FB #FB7791 #D3FB77 #77FBE1
square
#9F77FB #FB7791 #D3FB77 #77FBE1
split-complementary
#9F77FB #FBE177 #91FB77
monochromatic
#4E07F1 #753CF9 #9F77FB #C9B2FD #EAE1FE

Accessibility & contrast

On white

3.23
#9F77FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9F77FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F77FB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F77FB#FFFFFF#000000##000000
##9F77FB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#8992AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f77fb;
/* rgb */ color: rgb(159, 119, 251);
/* oklch */ color: oklch(66.9% 0.189 294.7);
Tailwind
colors: {
  custom: {
    50: '#c09ffd',
    500: '#9f77fb',
    950: '#000000',
  },
}
SCSS
$custom: #9f77fb;
$custom-light: #c09ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f77fb",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 258.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66877,
    "c": 0.18933,
    "h": 294.7
  },
  "luminance": 0.2753
}

Semantic roles & 50–950 ramp

primary
#9F77FB
secondary
#ECF6D5
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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