#8A76CC#8A76CC

#8A76CC is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.1% C 0.128 H 293.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A76CC
RGBrgb(138, 118, 204)
HSLhsl(254, 46%, 63%)
HSVhsv(254, 42%, 80%)
CMYKcmyk(32.4%, 42.2%, 0%, 20%)
CIE-LABlab(54.78, 27.03, -41.96)
CIE-LCHlch(54.78, 49.91, 302.79°)
OKLaboklab(62.09% 0.05 -0.1177)
OKLCHoklch(62.09% 0.128 293)
XYZxyz(27.8560, 22.7193, 60.0327)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76CC #B8CC76
analogous
#768DCC #8A76CC #B576CC
triadic
#8A76CC #CC8A76 #76CC8A
tetradic
#8A76CC #CC768D #B8CC76 #76CCB5
square
#8A76CC #CC768D #B8CC76 #76CCB5
split-complementary
#8A76CC #CCB576 #8DCC76
monochromatic
#4B3691 #6449BB #8A76CC #B0A3DD #D6CFED

Accessibility & contrast

On white

3.79
#8A76CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A76CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76CC#FFFFFF#000000##000000
##8A76CC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84CF
Deuteranopia (green-blind)
#5E82CA
Tritanopia (blue-blind)
#7B8697
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a76cc;
/* rgb */ color: rgb(138, 118, 204);
/* oklch */ color: oklch(62.1% 0.128 293.0);
Tailwind
colors: {
  custom: {
    50: '#ae9ddc',
    500: '#8a76cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a76cc;
$custom-light: #ae9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76cc",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 253.953,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62094,
    "c": 0.12788,
    "h": 293
  },
  "luminance": 0.2272
}

Semantic roles & 50–950 ramp

primary
#8A76CC
secondary
#D7DEBF
accent
#B92D98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A76CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8A76CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva