#9B71FC#9B71FC

#9B71FC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.199 H 294.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9B71FC
RGBrgb(155, 113, 252)
HSLhsl(258, 96%, 72%)
HSVhsv(258, 55%, 99%)
CMYKcmyk(38.5%, 55.2%, 0%, 1.2%)
CIE-LABlab(57.85, 46.72, -63.85)
CIE-LCHlch(57.85, 79.12, 306.19°)
OKLaboklab(65.62% 0.0814 -0.1813)
OKLCHoklch(65.62% 0.199 294.2)
XYZxyz(36.9888, 25.8063, 95.1089)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71FC #D2FC71
analogous
#718DFC #9B71FC #E071FC
triadic
#9B71FC #FC9B71 #71FC9B
tetradic
#9B71FC #FC718D #D2FC71 #71FCE0
square
#9B71FC #FC718D #D2FC71 #71FCE0
split-complementary
#9B71FC #FCE071 #8DFC71
monochromatic
#4B05EE #7135FB #9B71FC #C5ADFD #EAE1FE

Accessibility & contrast

On white

3.41
#9B71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9B71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71FC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71FC#FFFFFF#000000##000000
##9B71FC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8CFF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#828EAC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b71fc;
/* rgb */ color: rgb(155, 113, 252);
/* oklch */ color: oklch(65.6% 0.199 294.2);
Tailwind
colors: {
  custom: {
    50: '#bd9bfe',
    500: '#9b71fc',
    950: '#000000',
  },
}
SCSS
$custom: #9b71fc;
$custom-light: #bd9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71fc",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 258.129,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.19879,
    "h": 294.2
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#9B71FC
secondary
#EBF6D3
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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