#9A71C7#9A71C7

#9A71C7 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.132 H 304.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9A71C7
RGBrgb(154, 113, 199)
HSLhsl(269, 43%, 61%)
HSVhsv(269, 43%, 78%)
CMYKcmyk(22.6%, 43.2%, 0%, 22%)
CIE-LABlab(54.87, 33.20, -38.87)
CIE-LCHlch(54.87, 51.12, 310.50°)
OKLaboklab(62.44% 0.0755 -0.1084)
OKLCHoklch(62.44% 0.132 304.9)
XYZxyz(29.5382, 22.8039, 56.8672)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71C7 #9EC771
analogous
#7173C7 #9A71C7 #C571C7
triadic
#9A71C7 #C79A71 #71C79A
tetradic
#9A71C7 #C77173 #9EC771 #71C7C5
square
#9A71C7 #C77173 #9EC771 #71C7C5
split-complementary
#9A71C7 #C7C571 #73C771
monochromatic
#5D3688 #7B47B4 #9A71C7 #B99DD8 #D8C9EA

Accessibility & contrast

On white

3.78
#9A71C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9A71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A71C7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A71C7#FFFFFF#000000##000000
##9A71C71.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#6583C5
Tritanopia (blue-blind)
#937F92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9a71c7;
/* rgb */ color: rgb(154, 113, 199);
/* oklch */ color: oklch(62.4% 0.132 304.9);
Tailwind
colors: {
  custom: {
    50: '#b99ad8',
    500: '#9a71c7',
    950: '#000000',
  },
}
SCSS
$custom: #9a71c7;
$custom-light: #b99ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71c7",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 268.605,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.13207,
    "h": 304.9
  },
  "luminance": 0.22804
}

Semantic roles & 50–950 ramp

primary
#9A71C7
secondary
#CBDABA
accent
#B72F76
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9A71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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