#8A76DF#8A76DF

#8A76DF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.2% C 0.154 H 290.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A76DF
RGBrgb(138, 118, 223)
HSLhsl(251, 62%, 67%)
HSVhsv(251, 47%, 87%)
CMYKcmyk(38.1%, 47.1%, 0%, 12.5%)
CIE-LABlab(55.77, 32.10, -51.12)
CIE-LCHlch(55.77, 60.36, 302.13°)
OKLaboklab(63.17% 0.0527 -0.1444)
OKLCHoklch(63.17% 0.154 290)
XYZxyz(30.2753, 23.6870, 72.7746)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76DF #CBDF76
analogous
#7697DF #8A76DF #BF76DF
triadic
#8A76DF #DF8A76 #76DF8A
tetradic
#8A76DF #DF7697 #CBDF76 #76DFBF
square
#8A76DF #DF7697 #CBDF76 #76DFBF
split-complementary
#8A76DF #DFBF76 #97DF76
monochromatic
#4329B1 #6044D3 #8A76DF #B4A8EB #DFD9F6

Accessibility & contrast

On white

3.66
#8A76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8A76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76DF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76DF#FFFFFF#000000##000000
##8A76DF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E3
Deuteranopia (green-blind)
#5083DD
Tritanopia (blue-blind)
#748BA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a76df;
/* rgb */ color: rgb(138, 118, 223);
/* oklch */ color: oklch(63.2% 0.154 290.0);
Tailwind
colors: {
  custom: {
    50: '#b09ee9',
    500: '#8a76df',
    950: '#000000',
  },
}
SCSS
$custom: #8a76df;
$custom-light: #b09ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76df",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 251.429,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63165,
    "c": 0.15376,
    "h": 290
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#8A76DF
secondary
#E3E9C8
accent
#CA1CA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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