#8A76D2#8A76D2

#8A76D2 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.4% C 0.136 H 292.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A76D2
RGBrgb(138, 118, 210)
HSLhsl(253, 51%, 64%)
HSVhsv(253, 44%, 82%)
CMYKcmyk(34.3%, 43.8%, 0%, 17.6%)
CIE-LABlab(55.09, 28.61, -44.88)
CIE-LCHlch(55.09, 53.22, 302.51°)
OKLaboklab(62.42% 0.0509 -0.1262)
OKLCHoklch(62.42% 0.136 292)
XYZxyz(28.5895, 23.0127, 63.8959)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76D2 #BED276
analogous
#7690D2 #8A76D2 #B876D2
triadic
#8A76D2 #D28A76 #76D28A
tetradic
#8A76D2 #D27690 #BED276 #76D2B8
square
#8A76D2 #D27690 #BED276 #76D2B8
split-complementary
#8A76D2 #D2B876 #90D276
monochromatic
#49339B #6348C3 #8A76D2 #B1A4E1 #D9D2F0

Accessibility & contrast

On white

3.75
#8A76D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A76D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76D2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76D2#FFFFFF#000000##000000
##8A76D21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D5
Deuteranopia (green-blind)
#5A82D0
Tritanopia (blue-blind)
#79879A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a76d2;
/* rgb */ color: rgb(138, 118, 210);
/* oklch */ color: oklch(62.4% 0.136 292.0);
Tailwind
colors: {
  custom: {
    50: '#af9de0',
    500: '#8a76d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a76d2;
$custom-light: #af9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76d2",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 253.043,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62423,
    "c": 0.13612,
    "h": 292
  },
  "luminance": 0.23013
}

Semantic roles & 50–950 ramp

primary
#8A76D2
secondary
#DBE2C2
accent
#BE289D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8A76D2

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

Preview Lab → · Contrast checker → · Palette generator →

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