#9D71F7#9D71F7

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

Color values

HEX#9D71F7
RGBrgb(157, 113, 247)
HSLhsl(260, 89%, 71%)
HSVhsv(260, 54%, 97%)
CMYKcmyk(36.4%, 54.3%, 0%, 3.1%)
CIE-LABlab(57.74, 45.88, -61.25)
CIE-LCHlch(57.74, 76.53, 306.83°)
OKLaboklab(65.49% 0.0838 -0.1736)
OKLCHoklch(65.49% 0.193 295.8)
XYZxyz(36.5939, 25.6931, 91.0089)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71F7 #CBF771
analogous
#7188F7 #9D71F7 #E071F7
triadic
#9D71F7 #F79D71 #71F79D
tetradic
#9D71F7 #F77188 #CBF771 #71F7E0
square
#9D71F7 #F77188 #CBF771 #71F7E0
split-complementary
#9D71F7 #F7E071 #88F771
monochromatic
#520DE1 #7537F4 #9D71F7 #C5ABFA #EBE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D71F7#FFFFFF#000000##000000
##9D71F71.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)
#348CFC
Deuteranopia (green-blind)
#4289F4
Tritanopia (blue-blind)
#888DA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d71f7;
/* rgb */ color: rgb(157, 113, 247);
/* oklch */ color: oklch(65.5% 0.193 295.8);
Tailwind
colors: {
  custom: {
    50: '#be9bfa',
    500: '#9d71f7',
    950: '#000000',
  },
}
SCSS
$custom: #9d71f7;
$custom-light: #be9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71f7",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 259.701,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65487,
    "c": 0.19281,
    "h": 295.8
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#9D71F7
secondary
#E8F4D0
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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