#8A76E2#8A76E2

#8A76E2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.3% C 0.158 H 289.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A76E2
RGBrgb(138, 118, 226)
HSLhsl(251, 65%, 67%)
HSVhsv(251, 48%, 89%)
CMYKcmyk(38.9%, 47.8%, 0%, 11.4%)
CIE-LABlab(55.94, 32.92, -52.54)
CIE-LCHlch(55.94, 62.00, 302.07°)
OKLaboklab(63.34% 0.053 -0.1486)
OKLCHoklch(63.34% 0.158 289.6)
XYZxyz(30.6834, 23.8502, 74.9237)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76E2 #CEE276
analogous
#7698E2 #8A76E2 #C076E2
triadic
#8A76E2 #E28A76 #76E28A
tetradic
#8A76E2 #E27698 #CEE276 #76E2C0
square
#8A76E2 #E27698 #CEE276 #76E2C0
split-complementary
#8A76E2 #E2C076 #98E276
monochromatic
#4127B7 #5F43D7 #8A76E2 #B5A9ED #E0DBF7

Accessibility & contrast

On white

3.64
#8A76E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A76E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76E2#FFFFFF#000000##000000
##8A76E21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#4E84DF
Tritanopia (blue-blind)
#728CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a76e2;
/* rgb */ color: rgb(138, 118, 226);
/* oklch */ color: oklch(63.3% 0.158 289.6);
Tailwind
colors: {
  custom: {
    50: '#b09eec',
    500: '#8a76e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a76e2;
$custom-light: #b09eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76e2",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 251.111,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63342,
    "c": 0.15779,
    "h": 289.6
  },
  "luminance": 0.23851
}

Semantic roles & 50–950 ramp

primary
#8A76E2
secondary
#E5EBC9
accent
#CD19AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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