#9A71C4#9A71C4

#9A71C4 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.3% C 0.128 H 305.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9A71C4
RGBrgb(154, 113, 196)
HSLhsl(270, 41%, 61%)
HSVhsv(270, 42%, 77%)
CMYKcmyk(21.4%, 42.3%, 0%, 23.1%)
CIE-LABlab(54.73, 32.50, -37.39)
CIE-LCHlch(54.73, 49.54, 311.00°)
OKLaboklab(62.29% 0.075 -0.1041)
OKLCHoklch(62.29% 0.128 305.8)
XYZxyz(29.1933, 22.6660, 55.0509)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71C4 #9BC471
analogous
#7171C4 #9A71C4 #C471C4
triadic
#9A71C4 #C49A71 #71C49A
tetradic
#9A71C4 #C47171 #9BC471 #71C4C4
square
#9A71C4 #C47171 #9BC471 #71C4C4
split-complementary
#9A71C4 #C4C471 #71C471
monochromatic
#5D3784 #7B49AF #9A71C4 #B99CD6 #D8C7E8

Accessibility & contrast

On white

3.80
#9A71C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#9A71C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A71C4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A71C4#FFFFFF#000000##000000
##9A71C41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C7
Deuteranopia (green-blind)
#6783C2
Tritanopia (blue-blind)
#947E91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a71c4;
/* rgb */ color: rgb(154, 113, 196);
/* oklch */ color: oklch(62.3% 0.128 305.8);
Tailwind
colors: {
  custom: {
    50: '#b99ad6',
    500: '#9a71c4',
    950: '#000000',
  },
}
SCSS
$custom: #9a71c4;
$custom-light: #b99ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71c4",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 269.639,
    "s": 41.294,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.12825,
    "h": 305.8
  },
  "luminance": 0.22666
}

Semantic roles & 50–950 ramp

primary
#9A71C4
secondary
#C9D8B9
accent
#B43174
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9A71C4

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

Preview Lab → · Contrast checker → · Palette generator →

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