#9B71FB#9B71FB

#9B71FB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.198 H 294.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9B71FB
RGBrgb(155, 113, 251)
HSLhsl(258, 95%, 71%)
HSVhsv(258, 55%, 98%)
CMYKcmyk(38.2%, 55%, 0%, 1.6%)
CIE-LABlab(57.79, 46.45, -63.40)
CIE-LCHlch(57.79, 78.59, 306.23°)
OKLaboklab(65.55% 0.0814 -0.18)
OKLCHoklch(65.55% 0.198 294.3)
XYZxyz(36.8307, 25.7430, 94.2765)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71FB #D1FB71
analogous
#718CFB #9B71FB #E071FB
triadic
#9B71FB #FB9B71 #71FB9B
tetradic
#9B71FB #FB718C #D1FB71 #71FBE0
square
#9B71FB #FB718C #D1FB71 #71FBE0
split-complementary
#9B71FB #FBE071 #8CFB71
monochromatic
#4C07EB #7135F9 #9B71FB #C5ADFD #EAE1FE

Accessibility & contrast

On white

3.42
#9B71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9B71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71FB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71FB#FFFFFF#000000##000000
##9B71FB1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8CFF
Deuteranopia (green-blind)
#3A89F8
Tritanopia (blue-blind)
#838EAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b71fb;
/* rgb */ color: rgb(155, 113, 251);
/* oklch */ color: oklch(65.6% 0.198 294.3);
Tailwind
colors: {
  custom: {
    50: '#bd9bfd',
    500: '#9b71fb',
    950: '#000000',
  },
}
SCSS
$custom: #9b71fb;
$custom-light: #bd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71fb",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 258.261,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65554,
    "c": 0.19756,
    "h": 294.3
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#9B71FB
secondary
#EBF6D2
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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