#9B71FA#9B71FA

#9B71FA is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.196 H 294.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9B71FA
RGBrgb(155, 113, 250)
HSLhsl(258, 93%, 71%)
HSVhsv(258, 55%, 98%)
CMYKcmyk(38%, 54.8%, 0%, 2%)
CIE-LABlab(57.73, 46.19, -62.94)
CIE-LCHlch(57.73, 78.07, 306.28°)
OKLaboklab(65.49% 0.0814 -0.1787)
OKLCHoklch(65.49% 0.196 294.5)
XYZxyz(36.6735, 25.6802, 93.4485)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71FA #D0FA71
analogous
#718BFA #9B71FA #DF71FA
triadic
#9B71FA #FA9B71 #71FA9B
tetradic
#9B71FA #FA718B #D0FA71 #71FADF
square
#9B71FA #FA718B #D0FA71 #71FADF
split-complementary
#9B71FA #FADF71 #8BFA71
monochromatic
#4D08E8 #7136F8 #9B71FA #C5ACFC #EAE1FE

Accessibility & contrast

On white

3.42
#9B71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9B71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71FA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71FA#FFFFFF#000000##000000
##9B71FA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8CFF
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#838EAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b71fa;
/* rgb */ color: rgb(155, 113, 250);
/* oklch */ color: oklch(65.5% 0.196 294.5);
Tailwind
colors: {
  custom: {
    50: '#bd9bfd',
    500: '#9b71fa',
    950: '#000000',
  },
}
SCSS
$custom: #9b71fa;
$custom-light: #bd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71fa",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 258.394,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.19633,
    "h": 294.5
  },
  "luminance": 0.25681
}

Semantic roles & 50–950 ramp

primary
#9B71FA
secondary
#EAF5D1
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9B71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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