#8772DA#8772DA

#8772DA is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.153 H 290.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8772DA
RGBrgb(135, 114, 218)
HSLhsl(252, 58%, 65%)
HSVhsv(252, 48%, 85%)
CMYKcmyk(38.1%, 47.7%, 0%, 14.5%)
CIE-LABlab(54.29, 32.32, -50.69)
CIE-LCHlch(54.29, 60.12, 302.53°)
OKLaboklab(61.9% 0.0536 -0.1433)
OKLCHoklch(61.9% 0.153 290.5)
XYZxyz(28.6605, 22.2467, 69.1001)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772DA #C5DA72
analogous
#7291DA #8772DA #BB72DA
triadic
#8772DA #DA8772 #72DA87
tetradic
#8772DA #DA7291 #C5DA72 #72DABB
square
#8772DA #DA7291 #C5DA72 #72DABB
split-complementary
#8772DA #DABB72 #91DA72
monochromatic
#442CA6 #5E42CD #8772DA #B0A2E7 #DAD3F3

Accessibility & contrast

On white

3.85
#8772DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8772DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772DA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772DA#FFFFFF#000000##000000
##8772DA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DE
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#71879C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8772da;
/* rgb */ color: rgb(135, 114, 218);
/* oklch */ color: oklch(61.9% 0.153 290.5);
Tailwind
colors: {
  custom: {
    50: '#ae9be6',
    500: '#8772da',
    950: '#000000',
  },
}
SCSS
$custom: #8772da;
$custom-light: #ae9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8772da",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 252.115,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.15296,
    "h": 290.5
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#8772DA
secondary
#DEE6C2
accent
#C61FA4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772DA

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

Preview Lab → · Contrast checker → · Palette generator →

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