#9B71DB#9B71DB

#9B71DB is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.6% C 0.158 H 300.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9B71DB
RGBrgb(155, 113, 219)
HSLhsl(264, 60%, 65%)
HSVhsv(264, 48%, 86%)
CMYKcmyk(29.2%, 48.4%, 0%, 14.1%)
CIE-LABlab(55.98, 38.32, -48.44)
CIE-LCHlch(55.98, 61.77, 308.34°)
OKLaboklab(63.63% 0.0795 -0.1362)
OKLCHoklch(63.63% 0.158 300.3)
XYZxyz(32.2059, 23.8931, 69.9192)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71DB #B1DB71
analogous
#717CDB #9B71DB #D071DB
triadic
#9B71DB #DB9B71 #71DB9B
tetradic
#9B71DB #DB717C #B1DB71 #71DBD0
square
#9B71DB #DB717C #B1DB71 #71DBD0
split-complementary
#9B71DB #DBD071 #7CDB71
monochromatic
#5C2AA7 #7940CF #9B71DB #BDA2E7 #E0D3F4

Accessibility & contrast

On white

3.63
#9B71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9B71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71DB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71DB#FFFFFF#000000##000000
##9B71DB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#8E849C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b71db;
/* rgb */ color: rgb(155, 113, 219);
/* oklch */ color: oklch(63.6% 0.158 300.3);
Tailwind
colors: {
  custom: {
    50: '#bb9be7',
    500: '#9b71db',
    950: '#000000',
  },
}
SCSS
$custom: #9b71db;
$custom-light: #bb9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71db",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 263.774,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.15768,
    "h": 300.3
  },
  "luminance": 0.23893
}

Semantic roles & 50–950 ramp

primary
#9B71DB
secondary
#D8E6C2
accent
#C71E84
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9B71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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