#8A76CB#8A76CB

#8A76CB is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.0% C 0.127 H 293.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A76CB
RGBrgb(138, 118, 203)
HSLhsl(254, 45%, 63%)
HSVhsv(254, 42%, 80%)
CMYKcmyk(32%, 41.9%, 0%, 20.4%)
CIE-LABlab(54.73, 26.77, -41.47)
CIE-LCHlch(54.73, 49.36, 302.84°)
OKLaboklab(62.04% 0.0498 -0.1163)
OKLCHoklch(62.04% 0.127 293.2)
XYZxyz(27.7364, 22.6714, 59.4030)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76CB #B7CB76
analogous
#768CCB #8A76CB #B576CB
triadic
#8A76CB #CB8A76 #76CB8A
tetradic
#8A76CB #CB768C #B7CB76 #76CBB5
square
#8A76CB #CB768C #B7CB76 #76CBB5
split-complementary
#8A76CB #CBB576 #8CCB76
monochromatic
#4C3790 #644ABA #8A76CB #B0A2DC #D6CFED

Accessibility & contrast

On white

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

On black

5.53
#8A76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76CB#FFFFFF#000000##000000
##8A76CB1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a76cb;
/* rgb */ color: rgb(138, 118, 203);
/* oklch */ color: oklch(62.0% 0.127 293.2);
Tailwind
colors: {
  custom: {
    50: '#ae9ddb',
    500: '#8a76cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a76cb;
$custom-light: #ae9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76cb",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 254.118,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.1265,
    "h": 293.2
  },
  "luminance": 0.22672
}

Semantic roles & 50–950 ramp

primary
#8A76CB
secondary
#D6DEBF
accent
#B82D97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8A76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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