#9D71F2#9D71F2

#9D71F2 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.2% C 0.187 H 296.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9D71F2
RGBrgb(157, 113, 242)
HSLhsl(260, 83%, 70%)
HSVhsv(260, 53%, 95%)
CMYKcmyk(35.1%, 53.3%, 0%, 5.1%)
CIE-LABlab(57.45, 44.60, -58.95)
CIE-LCHlch(57.45, 73.92, 307.11°)
OKLaboklab(65.18% 0.0836 -0.1669)
OKLCHoklch(65.18% 0.187 296.6)
XYZxyz(35.8327, 25.3886, 86.9998)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71F2 #C6F271
analogous
#7186F2 #9D71F2 #DE71F2
triadic
#9D71F2 #F29D71 #71F29D
tetradic
#9D71F2 #F27186 #C6F271 #71F2DE
square
#9D71F2 #F27186 #C6F271 #71F2DE
split-complementary
#9D71F2 #F2DE71 #86F271
monochromatic
#5614D5 #7639ED #9D71F2 #C4A9F7 #EAE1FC

Accessibility & contrast

On white

3.46
#9D71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9D71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71F2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71F2#FFFFFF#000000##000000
##9D71F21.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#898BA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d71f2;
/* rgb */ color: rgb(157, 113, 242);
/* oklch */ color: oklch(65.2% 0.187 296.6);
Tailwind
colors: {
  custom: {
    50: '#be9bf7',
    500: '#9d71f2',
    950: '#000000',
  },
}
SCSS
$custom: #9d71f2;
$custom-light: #be9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71f2",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 260.465,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65177,
    "c": 0.18667,
    "h": 296.6
  },
  "luminance": 0.25389
}

Semantic roles & 50–950 ramp

primary
#9D71F2
secondary
#E5F2CD
accent
#E00695
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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