#9A71EC#9A71EC

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

Color values

HEX#9A71EC
RGBrgb(154, 113, 236)
HSLhsl(260, 76%, 68%)
HSVhsv(260, 52%, 93%)
CMYKcmyk(34.7%, 52.1%, 0%, 7.5%)
CIE-LABlab(56.82, 42.35, -56.64)
CIE-LCHlch(56.82, 70.72, 306.78°)
OKLaboklab(64.53% 0.0796 -0.1602)
OKLCHoklch(64.53% 0.179 296.4)
XYZxyz(34.3681, 24.7359, 82.3044)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71EC #C3EC71
analogous
#7185EC #9A71EC #D771EC
triadic
#9A71EC #EC9A71 #71EC9A
tetradic
#9A71EC #EC7185 #C3EC71 #71ECD7
square
#9A71EC #EC7185 #C3EC71 #71ECD7
split-complementary
#9A71EC #ECD771 #85EC71
monochromatic
#541BC8 #743BE5 #9A71EC #C0A7F3 #E7DDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A71EC#FFFFFF#000000##000000
##9A71EC1.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)
#4089F0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#878AA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a71ec;
/* rgb */ color: rgb(154, 113, 236);
/* oklch */ color: oklch(64.5% 0.179 296.4);
Tailwind
colors: {
  custom: {
    50: '#bc9bf3',
    500: '#9a71ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a71ec;
$custom-light: #bc9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71ec",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 260,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.1789,
    "h": 296.4
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#9A71EC
secondary
#E3EFCA
accent
#D90D95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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