#9B71EF#9B71EF

#9B71EF is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.183 H 296.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9B71EF
RGBrgb(155, 113, 239)
HSLhsl(260, 80%, 69%)
HSVhsv(260, 53%, 94%)
CMYKcmyk(35.1%, 52.7%, 0%, 6.3%)
CIE-LABlab(57.09, 43.35, -57.88)
CIE-LCHlch(57.09, 72.31, 306.84°)
OKLaboklab(64.8% 0.081 -0.1638)
OKLCHoklch(64.8% 0.183 296.3)
XYZxyz(34.9987, 25.0103, 84.6282)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71EF #C5EF71
analogous
#7186EF #9B71EF #DA71EF
triadic
#9B71EF #EF9B71 #71EF9B
tetradic
#9B71EF #EF7186 #C5EF71 #71EFDA
square
#9B71EF #EF7186 #C5EF71 #71EFDA
split-complementary
#9B71EF #EFDA71 #86EF71
monochromatic
#5417CE #743AE9 #9B71EF #C2A8F5 #E8DFFB

Accessibility & contrast

On white

3.50
#9B71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#9B71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71EF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71EF#FFFFFF#000000##000000
##9B71EF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#4987EC
Tritanopia (blue-blind)
#888AA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b71ef;
/* rgb */ color: rgb(155, 113, 239);
/* oklch */ color: oklch(64.8% 0.183 296.3);
Tailwind
colors: {
  custom: {
    50: '#bc9bf5',
    500: '#9b71ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b71ef;
$custom-light: #bc9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71ef",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 260,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64804,
    "c": 0.18275,
    "h": 296.3
  },
  "luminance": 0.25011
}

Semantic roles & 50–950 ramp

primary
#9B71EF
secondary
#E4F0CB
accent
#DC0996
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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