#9F71FB#9F71FB

#9F71FB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.198 H 295.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9F71FB
RGBrgb(159, 113, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(36.7%, 55%, 0%, 1.6%)
CIE-LABlab(58.17, 47.36, -62.76)
CIE-LCHlch(58.17, 78.63, 307.04°)
OKLaboklab(65.93% 0.0864 -0.178)
OKLCHoklch(65.93% 0.198 295.9)
XYZxyz(37.6113, 26.1455, 94.3131)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71FB #CDFB71
analogous
#7188FB #9F71FB #E471FB
triadic
#9F71FB #FB9F71 #71FB9F
tetradic
#9F71FB #FB7188 #CDFB71 #71FBE4
square
#9F71FB #FB7188 #CDFB71 #71FBE4
split-complementary
#9F71FB #FBE471 #88FB71
monochromatic
#5307EB #7735F9 #9F71FB #C7ADFD #EBE1FE

Accessibility & contrast

On white

3.37
#9F71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9F71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71FB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71FB#FFFFFF#000000##000000
##9F71FB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#3F8AF8
Tritanopia (blue-blind)
#898EAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f71fb;
/* rgb */ color: rgb(159, 113, 251);
/* oklch */ color: oklch(65.9% 0.198 295.9);
Tailwind
colors: {
  custom: {
    50: '#c09bfd',
    500: '#9f71fb',
    950: '#000000',
  },
}
SCSS
$custom: #9f71fb;
$custom-light: #c09bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71fb",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65926,
    "c": 0.19788,
    "h": 295.9
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#9F71FB
secondary
#EAF6D2
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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