#9B71EA#9B71EA

#9B71EA is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.177 H 297.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B71EA
RGBrgb(155, 113, 234)
HSLhsl(261, 74%, 68%)
HSVhsv(261, 52%, 92%)
CMYKcmyk(33.8%, 51.7%, 0%, 8.2%)
CIE-LABlab(56.80, 42.08, -55.55)
CIE-LCHlch(56.80, 69.68, 307.15°)
OKLaboklab(64.5% 0.0807 -0.157)
OKLCHoklch(64.5% 0.177 297.2)
XYZxyz(34.2703, 24.7189, 80.7916)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71EA #C0EA71
analogous
#7184EA #9B71EA #D771EA
triadic
#9B71EA #EA9B71 #71EA9B
tetradic
#9B71EA #EA7184 #C0EA71 #71EAD7
square
#9B71EA #EA7184 #C0EA71 #71EAD7
split-complementary
#9B71EA #EAD771 #84EA71
monochromatic
#571DC4 #753CE2 #9B71EA #C1A6F2 #E6DCFA

Accessibility & contrast

On white

3.53
#9B71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9B71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71EA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71EA#FFFFFF#000000##000000
##9B71EA1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#8989A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b71ea;
/* rgb */ color: rgb(155, 113, 234);
/* oklch */ color: oklch(64.5% 0.177 297.2);
Tailwind
colors: {
  custom: {
    50: '#bc9bf1',
    500: '#9b71ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b71ea;
$custom-light: #bc9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71ea",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 260.826,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64501,
    "c": 0.17652,
    "h": 297.2
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#9B71EA
secondary
#E1EEC9
accent
#D60F91
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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