#9D71E7#9D71E7

#9D71E7 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.173 H 298.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9D71E7
RGBrgb(157, 113, 231)
HSLhsl(262, 71%, 67%)
HSVhsv(262, 51%, 91%)
CMYKcmyk(32%, 51.1%, 0%, 9.4%)
CIE-LABlab(56.83, 41.82, -53.81)
CIE-LCHlch(56.83, 68.15, 307.85°)
OKLaboklab(64.51% 0.083 -0.1519)
OKLCHoklch(64.51% 0.173 298.7)
XYZxyz(34.2301, 24.7475, 78.5592)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D71E7 #BBE771
analogous
#7180E7 #9D71E7 #D871E7
triadic
#9D71E7 #E79D71 #71E79D
tetradic
#9D71E7 #E77180 #BBE771 #71E7D8
square
#9D71E7 #E77180 #BBE771 #71E7D8
split-complementary
#9D71E7 #E7D871 #80E771
monochromatic
#5B20BE #793DDE #9D71E7 #C1A5F0 #E5DAF9

Accessibility & contrast

On white

3.53
#9D71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9D71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D71E7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D71E7#FFFFFF#000000##000000
##9D71E71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#8D88A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d71e7;
/* rgb */ color: rgb(157, 113, 231);
/* oklch */ color: oklch(64.5% 0.173 298.7);
Tailwind
colors: {
  custom: {
    50: '#bd9bef',
    500: '#9d71e7',
    950: '#000000',
  },
}
SCSS
$custom: #9d71e7;
$custom-light: #bd9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d71e7",
  "rgb": {
    "r": 157,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 262.373,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.17305,
    "h": 298.7
  },
  "luminance": 0.24748
}

Semantic roles & 50–950 ramp

primary
#9D71E7
secondary
#DFECC7
accent
#D3128B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9D71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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