#8A76CD#8A76CD

#8A76CD is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.1% C 0.129 H 292.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A76CD
RGBrgb(138, 118, 205)
HSLhsl(254, 47%, 63%)
HSVhsv(254, 42%, 80%)
CMYKcmyk(32.7%, 42.4%, 0%, 19.6%)
CIE-LABlab(54.83, 27.29, -42.45)
CIE-LCHlch(54.83, 50.46, 302.74°)
OKLaboklab(62.15% 0.0501 -0.1191)
OKLCHoklch(62.15% 0.129 292.8)
XYZxyz(27.9763, 22.7674, 60.6664)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76CD #B9CD76
analogous
#768DCD #8A76CD #B576CD
triadic
#8A76CD #CD8A76 #76CD8A
tetradic
#8A76CD #CD768D #B9CD76 #76CDB5
square
#8A76CD #CD768D #B9CD76 #76CDB5
split-complementary
#8A76CD #CDB576 #8DCD76
monochromatic
#4B3693 #6449BD #8A76CD #B0A3DD #D7D0EE

Accessibility & contrast

On white

3.78
#8A76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76CD#FFFFFF#000000##000000
##8A76CD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#5D82CB
Tritanopia (blue-blind)
#7A8698
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a76cd;
/* rgb */ color: rgb(138, 118, 205);
/* oklch */ color: oklch(62.1% 0.129 292.8);
Tailwind
colors: {
  custom: {
    50: '#ae9ddc',
    500: '#8a76cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a76cd;
$custom-light: #ae9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76cd",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 253.793,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62149,
    "c": 0.12926,
    "h": 292.8
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#8A76CD
secondary
#D8DFC0
accent
#BA2C99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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