#9B71EB#9B71EB

#9B71EB is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.178 H 297.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B71EB
RGBrgb(155, 113, 235)
HSLhsl(261, 75%, 68%)
HSVhsv(261, 52%, 92%)
CMYKcmyk(34%, 51.9%, 0%, 7.8%)
CIE-LABlab(56.86, 42.33, -56.01)
CIE-LCHlch(56.86, 70.21, 307.08°)
OKLaboklab(64.56% 0.0808 -0.1583)
OKLCHoklch(64.56% 0.178 297)
XYZxyz(34.4144, 24.7765, 81.5504)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71EB #C1EB71
analogous
#7184EB #9B71EB #D871EB
triadic
#9B71EB #EB9B71 #71EB9B
tetradic
#9B71EB #EB7184 #C1EB71 #71EBD8
square
#9B71EB #EB7184 #C1EB71 #71EBD8
split-complementary
#9B71EB #EBD871 #84EB71
monochromatic
#561CC6 #753BE3 #9B71EB #C1A7F3 #E7DCFA

Accessibility & contrast

On white

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

On black

5.96
#9B71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71EB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71EB#FFFFFF#000000##000000
##9B71EB1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#8989A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b71eb;
/* rgb */ color: rgb(155, 113, 235);
/* oklch */ color: oklch(64.6% 0.178 297.0);
Tailwind
colors: {
  custom: {
    50: '#bc9bf2',
    500: '#9b71eb',
    950: '#000000',
  },
}
SCSS
$custom: #9b71eb;
$custom-light: #bc9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71eb",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 260.656,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64561,
    "c": 0.17777,
    "h": 297
  },
  "luminance": 0.24777
}

Semantic roles & 50–950 ramp

primary
#9B71EB
secondary
#E2EEC9
accent
#D70E92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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