#9D71F8#9D71F8

#9D71F8 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.194 H 295.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9D71F8
RGBrgb(157, 113, 248)
HSLhsl(260, 91%, 71%)
HSVhsv(260, 54%, 97%)
CMYKcmyk(36.7%, 54.4%, 0%, 2.7%)
CIE-LABlab(57.80, 46.13, -61.71)
CIE-LCHlch(57.80, 77.05, 306.78°)
OKLaboklab(65.55% 0.0838 -0.175)
OKLCHoklch(65.55% 0.194 295.6)
XYZxyz(36.7487, 25.7550, 91.8238)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71F8 #CCF871
analogous
#7188F8 #9D71F8 #E171F8
triadic
#9D71F8 #F89D71 #71F89D
tetradic
#9D71F8 #F87188 #CCF871 #71F8E1
square
#9D71F8 #F87188 #CCF871 #71F8E1
split-complementary
#9D71F8 #F8E171 #88F871
monochromatic
#520BE3 #7537F5 #9D71F8 #C5ABFB #EBE2FE

Accessibility & contrast

On white

3.41
#9D71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9D71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71F8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71F8#FFFFFF#000000##000000
##9D71F81.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFD
Deuteranopia (green-blind)
#4089F5
Tritanopia (blue-blind)
#878DAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d71f8;
/* rgb */ color: rgb(157, 113, 248);
/* oklch */ color: oklch(65.5% 0.194 295.6);
Tailwind
colors: {
  custom: {
    50: '#be9bfb',
    500: '#9d71f8',
    950: '#000000',
  },
}
SCSS
$custom: #9d71f8;
$custom-light: #be9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71f8",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 259.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6555,
    "c": 0.19404,
    "h": 295.6
  },
  "luminance": 0.25756
}

Semantic roles & 50–950 ramp

primary
#9D71F8
secondary
#E9F5D0
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9D71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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