#9A76C8#9A76C8

#9A76C8 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.4% C 0.125 H 303.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9A76C8
RGBrgb(154, 118, 200)
HSLhsl(266, 43%, 62%)
HSVhsv(266, 41%, 78%)
CMYKcmyk(23%, 41%, 0%, 21.6%)
CIE-LABlab(56.08, 30.58, -37.54)
CIE-LCHlch(56.08, 48.42, 309.17°)
OKLaboklab(63.37% 0.0685 -0.1045)
OKLCHoklch(63.37% 0.125 303.2)
XYZxyz(30.2280, 23.9971, 57.6718)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A76C8 #A4C876
analogous
#767BC8 #9A76C8 #C376C8
triadic
#9A76C8 #C89A76 #76C89A
tetradic
#9A76C8 #C8767B #A4C876 #76C8C3
square
#9A76C8 #C8767B #A4C876 #76C8C3
split-complementary
#9A76C8 #C8C376 #7BC876
monochromatic
#5D388C #7A4AB6 #9A76C8 #BAA2DA #DACDEB

Accessibility & contrast

On white

3.62
#9A76C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9A76C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A76C8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A76C8#FFFFFF#000000##000000
##9A76C81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CB
Deuteranopia (green-blind)
#6A86C6
Tritanopia (blue-blind)
#928395
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9a76c8;
/* rgb */ color: rgb(154, 118, 200);
/* oklch */ color: oklch(63.4% 0.125 303.2);
Tailwind
colors: {
  custom: {
    50: '#b99ed9',
    500: '#9a76c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a76c8;
$custom-light: #b99ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a76c8",
  "rgb": {
    "r": 154,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 266.341,
    "s": 42.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.12498,
    "h": 303.2
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#9A76C8
secondary
#CFDCBE
accent
#B6307B
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9A76C8

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

Preview Lab → · Contrast checker → · Palette generator →

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