#9B71ED#9B71ED

#9B71ED is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.180 H 296.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9B71ED
RGBrgb(155, 113, 237)
HSLhsl(260, 78%, 69%)
HSVhsv(260, 52%, 93%)
CMYKcmyk(34.6%, 52.3%, 0%, 7.1%)
CIE-LABlab(56.97, 42.84, -56.95)
CIE-LCHlch(56.97, 71.26, 306.96°)
OKLaboklab(64.68% 0.0809 -0.1611)
OKLCHoklch(64.68% 0.18 296.7)
XYZxyz(34.7049, 24.8927, 83.0807)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71ED #C3ED71
analogous
#7185ED #9B71ED #D971ED
triadic
#9B71ED #ED9B71 #71ED9B
tetradic
#9B71ED #ED7185 #C3ED71 #71EDD9
square
#9B71ED #ED7185 #C3ED71 #71EDD9
split-complementary
#9B71ED #EDD971 #85ED71
monochromatic
#551ACA #753BE6 #9B71ED #C1A7F4 #E7DEFB

Accessibility & contrast

On white

3.51
#9B71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9B71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71ED
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71ED#FFFFFF#000000##000000
##9B71ED1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#4B87EA
Tritanopia (blue-blind)
#888AA4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b71ed;
/* rgb */ color: rgb(155, 113, 237);
/* oklch */ color: oklch(64.7% 0.180 296.7);
Tailwind
colors: {
  custom: {
    50: '#bc9bf3',
    500: '#9b71ed',
    950: '#000000',
  },
}
SCSS
$custom: #9b71ed;
$custom-light: #bc9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71ed",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 260.323,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64682,
    "c": 0.18026,
    "h": 296.7
  },
  "luminance": 0.24893
}

Semantic roles & 50–950 ramp

primary
#9B71ED
secondary
#E3EFCA
accent
#DA0C94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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