#9B71FE#9B71FE

#9B71FE is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 65.7% C 0.201 H 293.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9B71FE
RGBrgb(155, 113, 254)
HSLhsl(258, 99%, 72%)
HSVhsv(258, 56%, 100%)
CMYKcmyk(39%, 55.5%, 0%, 0.4%)
CIE-LABlab(57.97, 47.24, -64.76)
CIE-LCHlch(57.97, 80.16, 306.11°)
OKLaboklab(65.75% 0.0815 -0.184)
OKLCHoklch(65.75% 0.201 293.9)
XYZxyz(37.3073, 25.9337, 96.7868)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71FE #D4FE71
analogous
#718EFE #9B71FE #E171FE
triadic
#9B71FE #FE9B71 #71FE9B
tetradic
#9B71FE #FE718E #D4FE71 #71FEE1
square
#9B71FE #FE718E #D4FE71 #71FEE1
split-complementary
#9B71FE #FEE171 #8EFE71
monochromatic
#4A02F3 #7034FE #9B71FE #C6AEFE #EAE1FF

Accessibility & contrast

On white

3.39
#9B71FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9B71FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71FE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71FE#FFFFFF#000000##000000
##9B71FE1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#278DFF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#828FAD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b71fe;
/* rgb */ color: rgb(155, 113, 254);
/* oklch */ color: oklch(65.7% 0.201 293.9);
Tailwind
colors: {
  custom: {
    50: '#be9bff',
    500: '#9b71fe',
    950: '#000000',
  },
}
SCSS
$custom: #9b71fe;
$custom-light: #be9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71fe",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 257.872,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.20124,
    "h": 293.9
  },
  "luminance": 0.25935
}

Semantic roles & 50–950 ramp

primary
#9B71FE
secondary
#EDF7D4
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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