#8772D8#8772D8

#8772D8 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.8% C 0.150 H 290.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8772D8
RGBrgb(135, 114, 216)
HSLhsl(252, 57%, 65%)
HSVhsv(252, 47%, 85%)
CMYKcmyk(37.5%, 47.2%, 0%, 15.3%)
CIE-LABlab(54.18, 31.78, -49.73)
CIE-LCHlch(54.18, 59.02, 302.58°)
OKLaboklab(61.78% 0.0534 -0.1405)
OKLCHoklch(61.78% 0.15 290.8)
XYZxyz(28.4003, 22.1426, 67.7300)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772D8 #C3D872
analogous
#7290D8 #8772D8 #BA72D8
triadic
#8772D8 #D88772 #72D887
tetradic
#8772D8 #D87290 #C3D872 #72D8BA
square
#8772D8 #D87290 #C3D872 #72D8BA
split-complementary
#8772D8 #D8BA72 #90D872
monochromatic
#452DA3 #5E42CB #8772D8 #B0A2E5 #D9D2F3

Accessibility & contrast

On white

3.87
#8772D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8772D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772D8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772D8#FFFFFF#000000##000000
##8772D81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DC
Deuteranopia (green-blind)
#4F7FD6
Tritanopia (blue-blind)
#72869B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8772d8;
/* rgb */ color: rgb(135, 114, 216);
/* oklch */ color: oklch(61.8% 0.150 290.8);
Tailwind
colors: {
  custom: {
    50: '#ad9be4',
    500: '#8772d8',
    950: '#000000',
  },
}
SCSS
$custom: #8772d8;
$custom-light: #ad9be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8772d8",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 252.353,
    "s": 56.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.15028,
    "h": 290.8
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#8772D8
secondary
#DDE4C1
accent
#C421A3
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772D8

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

Preview Lab → · Contrast checker → · Palette generator →

#8772D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva