#9A71EF#9A71EF

#9A71EF is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.7% C 0.183 H 295.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9A71EF
RGBrgb(154, 113, 239)
HSLhsl(260, 80%, 69%)
HSVhsv(260, 53%, 94%)
CMYKcmyk(35.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(56.99, 43.12, -58.04)
CIE-LCHlch(56.99, 72.30, 306.61°)
OKLaboklab(64.71% 0.0798 -0.1643)
OKLCHoklch(64.71% 0.183 295.9)
XYZxyz(34.8076, 24.9117, 84.6192)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71EF #C6EF71
analogous
#7187EF #9A71EF #D971EF
triadic
#9A71EF #EF9A71 #71EF9A
tetradic
#9A71EF #EF7187 #C6EF71 #71EFD9
square
#9A71EF #EF7187 #C6EF71 #71EFD9
split-complementary
#9A71EF #EFD971 #87EF71
monochromatic
#5317CE #733AE9 #9A71EF #C1A8F5 #E8DFFB

Accessibility & contrast

On white

3.51
#9A71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9A71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A71EF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A71EF#FFFFFF#000000##000000
##9A71EF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#868AA5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a71ef;
/* rgb */ color: rgb(154, 113, 239);
/* oklch */ color: oklch(64.7% 0.183 295.9);
Tailwind
colors: {
  custom: {
    50: '#bc9bf5',
    500: '#9a71ef',
    950: '#000000',
  },
}
SCSS
$custom: #9a71ef;
$custom-light: #bc9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71ef",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 259.524,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.18265,
    "h": 295.9
  },
  "luminance": 0.24912
}

Semantic roles & 50–950 ramp

primary
#9A71EF
secondary
#E4F0CB
accent
#DC0998
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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