#9D71F4#9D71F4

#9D71F4 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.189 H 296.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9D71F4
RGBrgb(157, 113, 244)
HSLhsl(260, 86%, 70%)
HSVhsv(260, 54%, 96%)
CMYKcmyk(35.7%, 53.7%, 0%, 4.3%)
CIE-LABlab(57.57, 45.11, -59.87)
CIE-LCHlch(57.57, 74.96, 307.00°)
OKLaboklab(65.3% 0.0837 -0.1696)
OKLCHoklch(65.3% 0.189 296.3)
XYZxyz(36.1347, 25.5094, 88.5904)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71F4 #C8F471
analogous
#7186F4 #9D71F4 #DF71F4
triadic
#9D71F4 #F49D71 #71F49D
tetradic
#9D71F4 #F47186 #C8F471 #71F4DF
square
#9D71F4 #F47186 #C8F471 #71F4DF
split-complementary
#9D71F4 #F4DF71 #86F471
monochromatic
#5411DA #7638F0 #9D71F4 #C4AAF8 #EBE3FD

Accessibility & contrast

On white

3.44
#9D71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9D71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71F4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71F4#FFFFFF#000000##000000
##9D71F41.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF8
Deuteranopia (green-blind)
#4589F1
Tritanopia (blue-blind)
#898CA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d71f4;
/* rgb */ color: rgb(157, 113, 244);
/* oklch */ color: oklch(65.3% 0.189 296.3);
Tailwind
colors: {
  custom: {
    50: '#be9bf8',
    500: '#9d71f4',
    950: '#000000',
  },
}
SCSS
$custom: #9d71f4;
$custom-light: #be9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71f4",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 260.153,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.653,
    "c": 0.18913,
    "h": 296.3
  },
  "luminance": 0.2551
}

Semantic roles & 50–950 ramp

primary
#9D71F4
secondary
#E6F3CE
accent
#E20397
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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