#9B71F9#9B71F9

#9B71F9 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.195 H 294.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9B71F9
RGBrgb(155, 113, 249)
HSLhsl(259, 92%, 71%)
HSVhsv(259, 55%, 98%)
CMYKcmyk(37.8%, 54.6%, 0%, 2.4%)
CIE-LABlab(57.67, 45.93, -62.48)
CIE-LCHlch(57.67, 77.55, 306.32°)
OKLaboklab(65.43% 0.0814 -0.1773)
OKLCHoklch(65.43% 0.195 294.6)
XYZxyz(36.5171, 25.6176, 92.6249)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B71F9 #CFF971
analogous
#718BF9 #9B71F9 #DF71F9
triadic
#9B71F9 #F99B71 #71F99B
tetradic
#9B71F9 #F9718B #CFF971 #71F9DF
square
#9B71F9 #F9718B #CFF971 #71F9DF
split-complementary
#9B71F9 #F9DF71 #8BF971
monochromatic
#4E0AE6 #7236F7 #9B71F9 #C4ACFB #EAE2FE

Accessibility & contrast

On white

3.43
#9B71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9B71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B71F9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B71F9#FFFFFF#000000##000000
##9B71F91.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFE
Deuteranopia (green-blind)
#3D88F6
Tritanopia (blue-blind)
#848DAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b71f9;
/* rgb */ color: rgb(155, 113, 249);
/* oklch */ color: oklch(65.4% 0.195 294.6);
Tailwind
colors: {
  custom: {
    50: '#bd9bfc',
    500: '#9b71f9',
    950: '#000000',
  },
}
SCSS
$custom: #9b71f9;
$custom-light: #bd9bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b71f9",
  "rgb": {
    "r": 155,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 258.529,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65427,
    "c": 0.19511,
    "h": 294.6
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#9B71F9
secondary
#EAF5D1
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9B71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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