#8A77E2#8A77E2

#8A77E2 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.5% C 0.156 H 289.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A77E2
RGBrgb(138, 119, 226)
HSLhsl(251, 65%, 68%)
HSVhsv(251, 47%, 89%)
CMYKcmyk(38.9%, 47.3%, 0%, 11.4%)
CIE-LABlab(56.17, 32.34, -52.16)
CIE-LCHlch(56.17, 61.37, 301.80°)
OKLaboklab(63.52% 0.0518 -0.1475)
OKLCHoklch(63.52% 0.156 289.3)
XYZxyz(30.8018, 24.0870, 74.9631)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A77E2 #CFE277
analogous
#779AE2 #8A77E2 #BF77E2
triadic
#8A77E2 #E28A77 #77E28A
tetradic
#8A77E2 #E2779A #CFE277 #77E2BF
square
#8A77E2 #E2779A #CFE277 #77E2BF
split-complementary
#8A77E2 #E2BF77 #9AE277
monochromatic
#4127B7 #5F45D7 #8A77E2 #B5A9ED #E1DCF8

Accessibility & contrast

On white

3.61
#8A77E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A77E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A77E2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A77E2#FFFFFF#000000##000000
##8A77E21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E6
Deuteranopia (green-blind)
#4F84E0
Tritanopia (blue-blind)
#728CA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a77e2;
/* rgb */ color: rgb(138, 119, 226);
/* oklch */ color: oklch(63.5% 0.156 289.3);
Tailwind
colors: {
  custom: {
    50: '#b09eec',
    500: '#8a77e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a77e2;
$custom-light: #b09eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a77e2",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 250.654,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6352,
    "c": 0.15633,
    "h": 289.3
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#8A77E2
secondary
#E5EBCA
accent
#CD19AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8A77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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