#9F71FA#9F71FA

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

Color values

HEX#9F71FA
RGBrgb(159, 113, 250)
HSLhsl(260, 93%, 71%)
HSVhsv(260, 55%, 98%)
CMYKcmyk(36.4%, 54.8%, 0%, 2%)
CIE-LABlab(58.12, 47.11, -62.30)
CIE-LCHlch(58.12, 78.11, 307.09°)
OKLaboklab(65.86% 0.0864 -0.1767)
OKLCHoklch(65.86% 0.197 296)
XYZxyz(37.4541, 26.0827, 93.4851)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71FA #CCFA71
analogous
#7187FA #9F71FA #E371FA
triadic
#9F71FA #FA9F71 #71FA9F
tetradic
#9F71FA #FA7187 #CCFA71 #71FAE3
square
#9F71FA #FA7187 #CCFA71 #71FAE3
split-complementary
#9F71FA #FAE371 #87FA71
monochromatic
#5308E8 #7736F8 #9F71FA #C7ACFC #EBE1FE

Accessibility & contrast

On white

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

On black

6.22
#9F71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71FA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71FA#FFFFFF#000000##000000
##9F71FA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#408AF7
Tritanopia (blue-blind)
#898DAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f71fa;
/* rgb */ color: rgb(159, 113, 250);
/* oklch */ color: oklch(65.9% 0.197 296.0);
Tailwind
colors: {
  custom: {
    50: '#c09bfd',
    500: '#9f71fa',
    950: '#000000',
  },
}
SCSS
$custom: #9f71fa;
$custom-light: #c09bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71fa",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 260.146,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.19667,
    "h": 296
  },
  "luminance": 0.26083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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