#8A76ED#8A76ED

#8A76ED is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.0% C 0.172 H 288.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A76ED
RGBrgb(138, 118, 237)
HSLhsl(250, 77%, 70%)
HSVhsv(250, 50%, 93%)
CMYKcmyk(41.8%, 50.2%, 0%, 7.1%)
CIE-LABlab(56.56, 35.95, -57.69)
CIE-LCHlch(56.56, 67.98, 301.93°)
OKLaboklab(64.01% 0.054 -0.1637)
OKLCHoklch(64.01% 0.172 288.3)
XYZxyz(32.2414, 24.4734, 83.1294)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76ED #D9ED76
analogous
#769EED #8A76ED #C676ED
triadic
#8A76ED #ED8A76 #76ED8A
tetradic
#8A76ED #ED769E #D9ED76 #76EDC6
square
#8A76ED #ED769E #D9ED76 #76EDC6
split-complementary
#8A76ED #EDC676 #9EED76
monochromatic
#391BCE #5C40E6 #8A76ED #B8ACF4 #E6E2FB

Accessibility & contrast

On white

3.56
#8A76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8A76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76ED
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76ED#FFFFFF#000000##000000
##8A76ED1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF1
Deuteranopia (green-blind)
#4385EA
Tritanopia (blue-blind)
#6D8FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a76ed;
/* rgb */ color: rgb(138, 118, 237);
/* oklch */ color: oklch(64.0% 0.172 288.3);
Tailwind
colors: {
  custom: {
    50: '#b19ef3',
    500: '#8a76ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a76ed;
$custom-light: #b19ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76ed",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 250.084,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64008,
    "c": 0.17241,
    "h": 288.3
  },
  "luminance": 0.24475
}

Semantic roles & 50–950 ramp

primary
#8A76ED
secondary
#EBF0CE
accent
#D90DB7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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