#8A76E1#8A76E1

#8A76E1 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.3% C 0.156 H 289.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A76E1
RGBrgb(138, 118, 225)
HSLhsl(251, 64%, 67%)
HSVhsv(251, 48%, 88%)
CMYKcmyk(38.7%, 47.6%, 0%, 11.8%)
CIE-LABlab(55.88, 32.65, -52.07)
CIE-LCHlch(55.88, 61.46, 302.09°)
OKLaboklab(63.28% 0.0529 -0.1472)
OKLCHoklch(63.28% 0.156 289.8)
XYZxyz(30.5466, 23.7955, 74.2031)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E1 #CDE176
analogous
#7698E1 #8A76E1 #C076E1
triadic
#8A76E1 #E18A76 #76E18A
tetradic
#8A76E1 #E17698 #CDE176 #76E1C0
square
#8A76E1 #E17698 #CDE176 #76E1C0
split-complementary
#8A76E1 #E1C076 #98E176
monochromatic
#4228B5 #5F44D6 #8A76E1 #B5A8EC #E0DAF7

Accessibility & contrast

On white

3.65
#8A76E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A76E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E1#FFFFFF#000000##000000
##8A76E11.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E5
Deuteranopia (green-blind)
#4F83DF
Tritanopia (blue-blind)
#738BA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a76e1;
/* rgb */ color: rgb(138, 118, 225);
/* oklch */ color: oklch(63.3% 0.156 289.8);
Tailwind
colors: {
  custom: {
    50: '#b09eeb',
    500: '#8a76e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e1;
$custom-light: #b09eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e1",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 251.215,
    "s": 64.072,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63282,
    "c": 0.15645,
    "h": 289.8
  },
  "luminance": 0.23796
}

Semantic roles & 50–950 ramp

primary
#8A76E1
secondary
#E4EAC9
accent
#CC1AAB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76E1

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

Preview Lab → · Contrast checker → · Palette generator →

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