#9A71ED#9A71ED

#9A71ED is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.6% C 0.180 H 296.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9A71ED
RGBrgb(154, 113, 237)
HSLhsl(260, 78%, 69%)
HSVhsv(260, 52%, 93%)
CMYKcmyk(35%, 52.3%, 0%, 7.1%)
CIE-LABlab(56.87, 42.60, -57.11)
CIE-LCHlch(56.87, 71.25, 306.72°)
OKLaboklab(64.59% 0.0797 -0.1616)
OKLCHoklch(64.59% 0.18 296.2)
XYZxyz(34.5137, 24.7942, 83.0717)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71ED #C4ED71
analogous
#7186ED #9A71ED #D871ED
triadic
#9A71ED #ED9A71 #71ED9A
tetradic
#9A71ED #ED7186 #C4ED71 #71EDD8
square
#9A71ED #ED7186 #C4ED71 #71EDD8
split-complementary
#9A71ED #EDD871 #86ED71
monochromatic
#541ACA #733BE6 #9A71ED #C1A7F4 #E7DEFB

Accessibility & contrast

On white

3.52
#9A71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9A71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A71ED
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A71ED#FFFFFF#000000##000000
##9A71ED1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F1
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#878AA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a71ed;
/* rgb */ color: rgb(154, 113, 237);
/* oklch */ color: oklch(64.6% 0.180 296.2);
Tailwind
colors: {
  custom: {
    50: '#bc9bf3',
    500: '#9a71ed',
    950: '#000000',
  },
}
SCSS
$custom: #9a71ed;
$custom-light: #bc9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71ed",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 259.839,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.18015,
    "h": 296.2
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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