#8772D5#8772D5

#8772D5 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.6% C 0.146 H 291.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8772D5
RGBrgb(135, 114, 213)
HSLhsl(253, 54%, 64%)
HSVhsv(253, 46%, 84%)
CMYKcmyk(36.6%, 46.5%, 0%, 16.5%)
CIE-LABlab(54.02, 30.97, -48.29)
CIE-LCHlch(54.02, 57.37, 302.67°)
OKLaboklab(61.6% 0.053 -0.1363)
OKLCHoklch(61.6% 0.146 291.3)
XYZxyz(28.0160, 21.9889, 65.7061)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772D5 #C0D572
analogous
#728FD5 #8772D5 #B972D5
triadic
#8772D5 #D58772 #72D587
tetradic
#8772D5 #D5728F #C0D572 #72D5B9
square
#8772D5 #D5728F #C0D572 #72D5B9
split-complementary
#8772D5 #D5B972 #8FD572
monochromatic
#462F9E #5F43C7 #8772D5 #AFA1E3 #D7D0F1

Accessibility & contrast

On white

3.89
#8772D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8772D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772D5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772D5#FFFFFF#000000##000000
##8772D51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D9
Deuteranopia (green-blind)
#517FD3
Tritanopia (blue-blind)
#738599
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8772d5;
/* rgb */ color: rgb(135, 114, 213);
/* oklch */ color: oklch(61.6% 0.146 291.3);
Tailwind
colors: {
  custom: {
    50: '#ad9be2',
    500: '#8772d5',
    950: '#000000',
  },
}
SCSS
$custom: #8772d5;
$custom-light: #ad9be2;
$custom-dark: #000000;
JSON
{
  "hex": "#8772d5",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 252.727,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.14621,
    "h": 291.3
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#8772D5
secondary
#DBE3C0
accent
#C224A0
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8772D5

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

Preview Lab → · Contrast checker → · Palette generator →

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