#9F71FC#9F71FC

#9F71FC is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.199 H 295.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F71FC
RGBrgb(159, 113, 252)
HSLhsl(260, 96%, 72%)
HSVhsv(260, 55%, 99%)
CMYKcmyk(36.9%, 55.2%, 0%, 1.2%)
CIE-LABlab(58.23, 47.62, -63.22)
CIE-LCHlch(58.23, 79.14, 306.99°)
OKLaboklab(65.99% 0.0864 -0.1794)
OKLCHoklch(65.99% 0.199 295.7)
XYZxyz(37.7694, 26.2088, 95.1455)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71FC #CEFC71
analogous
#7189FC #9F71FC #E571FC
triadic
#9F71FC #FC9F71 #71FC9F
tetradic
#9F71FC #FC7189 #CEFC71 #71FCE5
square
#9F71FC #FC7189 #CEFC71 #71FCE5
split-complementary
#9F71FC #FCE571 #89FC71
monochromatic
#5205EE #7635FB #9F71FC #C8ADFD #EBE1FE

Accessibility & contrast

On white

3.36
#9F71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9F71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71FC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71FC#FFFFFF#000000##000000
##9F71FC1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#3E8AF9
Tritanopia (blue-blind)
#898EAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f71fc;
/* rgb */ color: rgb(159, 113, 252);
/* oklch */ color: oklch(66.0% 0.199 295.7);
Tailwind
colors: {
  custom: {
    50: '#c09bfe',
    500: '#9f71fc',
    950: '#000000',
  },
}
SCSS
$custom: #9f71fc;
$custom-light: #c09bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71fc",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 259.856,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6599,
    "c": 0.19909,
    "h": 295.7
  },
  "luminance": 0.26209
}

Semantic roles & 50–950 ramp

primary
#9F71FC
secondary
#EAF6D3
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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