#9E71F2#9E71F2

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

Color values

HEX#9E71F2
RGBrgb(158, 113, 242)
HSLhsl(261, 83%, 70%)
HSVhsv(261, 53%, 95%)
CMYKcmyk(34.7%, 53.3%, 0%, 5.1%)
CIE-LABlab(57.55, 44.84, -58.79)
CIE-LCHlch(57.55, 73.93, 307.33°)
OKLaboklab(65.27% 0.0849 -0.1664)
OKLCHoklch(65.27% 0.187 297)
XYZxyz(36.0287, 25.4896, 87.0090)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E71F2 #C5F271
analogous
#7185F2 #9E71F2 #DE71F2
triadic
#9E71F2 #F29E71 #71F29E
tetradic
#9E71F2 #F27185 #C5F271 #71F2DE
square
#9E71F2 #F27185 #C5F271 #71F2DE
split-complementary
#9E71F2 #F2DE71 #85F271
monochromatic
#5714D5 #7839ED #9E71F2 #C4A9F7 #EBE1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E71F2#FFFFFF#000000##000000
##9E71F21.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)
#3B8BF6
Deuteranopia (green-blind)
#4889EF
Tritanopia (blue-blind)
#8B8BA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e71f2;
/* rgb */ color: rgb(158, 113, 242);
/* oklch */ color: oklch(65.3% 0.187 297.0);
Tailwind
colors: {
  custom: {
    50: '#bf9bf7',
    500: '#9e71f2',
    950: '#000000',
  },
}
SCSS
$custom: #9e71f2;
$custom-light: #bf9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e71f2",
  "rgb": {
    "r": 158,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 260.93,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65272,
    "c": 0.18678,
    "h": 297
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

primary
#9E71F2
secondary
#E5F2CD
accent
#E00694
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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