#9B71F3#9B71F3

#9B71F3 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.188 H 295.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9B71F3
RGBrgb(155, 113, 243)
HSLhsl(259, 84%, 70%)
HSVhsv(259, 53%, 95%)
CMYKcmyk(36.2%, 53.5%, 0%, 4.7%)
CIE-LABlab(57.32, 44.38, -59.73)
CIE-LCHlch(57.32, 74.41, 306.62°)
OKLaboklab(65.05% 0.0812 -0.1692)
OKLCHoklch(65.05% 0.188 295.6)
XYZxyz(35.5962, 25.2492, 87.7748)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71F3 #C9F371
analogous
#7188F3 #9B71F3 #DC71F3
triadic
#9B71F3 #F39B71 #71F39B
tetradic
#9B71F3 #F37188 #C9F371 #71F3DC
square
#9B71F3 #F37188 #C9F371 #71F3DC
split-complementary
#9B71F3 #F3DC71 #88F371
monochromatic
#5212D7 #7339EE #9B71F3 #C3A9F8 #EAE2FD

Accessibility & contrast

On white

3.47
#9B71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9B71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71F3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71F3#FFFFFF#000000##000000
##9B71F31.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF7
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#868CA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b71f3;
/* rgb */ color: rgb(155, 113, 243);
/* oklch */ color: oklch(65.1% 0.188 295.6);
Tailwind
colors: {
  custom: {
    50: '#bd9bf8',
    500: '#9b71f3',
    950: '#000000',
  },
}
SCSS
$custom: #9b71f3;
$custom-light: #bd9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71f3",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 259.385,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65051,
    "c": 0.18771,
    "h": 295.6
  },
  "luminance": 0.2525
}

Semantic roles & 50–950 ramp

primary
#9B71F3
secondary
#E6F2CE
accent
#E1059A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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