#8772CA#8772CA

#8772CA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.0% C 0.131 H 293.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8772CA
RGBrgb(135, 114, 202)
HSLhsl(254, 45%, 62%)
HSVhsv(254, 44%, 79%)
CMYKcmyk(33.2%, 43.6%, 0%, 20.8%)
CIE-LABlab(53.44, 28.03, -42.96)
CIE-LCHlch(53.44, 51.30, 303.12°)
OKLaboklab(60.98% 0.0515 -0.1207)
OKLCHoklch(60.98% 0.131 293.1)
XYZxyz(26.6669, 21.4493, 58.6008)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772CA #B5CA72
analogous
#7289CA #8772CA #B372CA
triadic
#8772CA #CA8772 #72CA87
tetradic
#8772CA #CA7289 #B5CA72 #72CAB3
square
#8772CA #CA7289 #B5CA72 #72CAB3
split-complementary
#8772CA #CAB372 #89CA72
monochromatic
#4A358D #6146B9 #8772CA #AD9EDB #D3CBEB

Accessibility & contrast

On white

3.97
#8772CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8772CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772CA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772CA#FFFFFF#000000##000000
##8772CA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#778294
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8772ca;
/* rgb */ color: rgb(135, 114, 202);
/* oklch */ color: oklch(61.0% 0.131 293.1);
Tailwind
colors: {
  custom: {
    50: '#ac9bda',
    500: '#8772ca',
    950: '#000000',
  },
}
SCSS
$custom: #8772ca;
$custom-light: #ac9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8772ca",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 254.318,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.13122,
    "h": 293.1
  },
  "luminance": 0.2145
}

Semantic roles & 50–950 ramp

primary
#8772CA
secondary
#D4DCBC
accent
#B92D97
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772CA

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

Preview Lab → · Contrast checker → · Palette generator →

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