#9B71DA#9B71DA

#9B71DA is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.156 H 300.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B71DA
RGBrgb(155, 113, 218)
HSLhsl(264, 59%, 65%)
HSVhsv(264, 48%, 85%)
CMYKcmyk(28.9%, 48.2%, 0%, 14.5%)
CIE-LABlab(55.93, 38.07, -47.96)
CIE-LCHlch(55.93, 61.24, 308.44°)
OKLaboklab(63.57% 0.0794 -0.1348)
OKLCHoklch(63.57% 0.156 300.5)
XYZxyz(32.0747, 23.8406, 69.2280)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71DA #B0DA71
analogous
#717CDA #9B71DA #CF71DA
triadic
#9B71DA #DA9B71 #71DA9B
tetradic
#9B71DA #DA717C #B0DA71 #71DACF
square
#9B71DA #DA717C #B0DA71 #71DACF
split-complementary
#9B71DA #DACF71 #7CDA71
monochromatic
#5C2BA5 #7940CD #9B71DA #BDA2E7 #DFD2F3

Accessibility & contrast

On white

3.64
#9B71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9B71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71DA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71DA#FFFFFF#000000##000000
##9B71DA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DE
Deuteranopia (green-blind)
#5A85D7
Tritanopia (blue-blind)
#8F849B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b71da;
/* rgb */ color: rgb(155, 113, 218);
/* oklch */ color: oklch(63.6% 0.156 300.5);
Tailwind
colors: {
  custom: {
    50: '#bb9be6',
    500: '#9b71da',
    950: '#000000',
  },
}
SCSS
$custom: #9b71da;
$custom-light: #bb9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71da",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 264,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63569,
    "c": 0.15641,
    "h": 300.5
  },
  "luminance": 0.23841
}

Semantic roles & 50–950 ramp

primary
#9B71DA
secondary
#D7E5C1
accent
#C61F83
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9B71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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