#9F71F9#9F71F9

#9F71F9 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.195 H 296.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9F71F9
RGBrgb(159, 113, 249)
HSLhsl(260, 92%, 71%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(36.1%, 54.6%, 0%, 2.4%)
CIE-LABlab(58.06, 46.85, -61.85)
CIE-LCHlch(58.06, 77.59, 307.15°)
OKLaboklab(65.8% 0.0863 -0.1753)
OKLCHoklch(65.8% 0.195 296.2)
XYZxyz(37.2977, 26.0201, 92.6615)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71F9 #CBF971
analogous
#7187F9 #9F71F9 #E371F9
triadic
#9F71F9 #F99F71 #71F99F
tetradic
#9F71F9 #F97187 #CBF971 #71F9E3
square
#9F71F9 #F97187 #CBF971 #71F9E3
split-complementary
#9F71F9 #F9E371 #87F971
monochromatic
#540AE6 #7736F7 #9F71F9 #C7ACFB #EBE2FE

Accessibility & contrast

On white

3.38
#9F71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9F71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71F9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71F9#FFFFFF#000000##000000
##9F71F91.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFE
Deuteranopia (green-blind)
#418AF6
Tritanopia (blue-blind)
#8A8DAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f71f9;
/* rgb */ color: rgb(159, 113, 249);
/* oklch */ color: oklch(65.8% 0.195 296.2);
Tailwind
colors: {
  custom: {
    50: '#c09bfc',
    500: '#9f71f9',
    950: '#000000',
  },
}
SCSS
$custom: #9f71f9;
$custom-light: #c09bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71f9",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 260.294,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65801,
    "c": 0.19545,
    "h": 296.2
  },
  "luminance": 0.26021
}

Semantic roles & 50–950 ramp

primary
#9F71F9
secondary
#E9F5D1
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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