#8772CC#8772CC

#8772CC is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.1% C 0.134 H 292.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8772CC
RGBrgb(135, 114, 204)
HSLhsl(254, 47%, 62%)
HSVhsv(254, 44%, 80%)
CMYKcmyk(33.8%, 44.1%, 0%, 20%)
CIE-LABlab(53.54, 28.56, -43.94)
CIE-LCHlch(53.54, 52.40, 303.02°)
OKLaboklab(61.09% 0.0518 -0.1236)
OKLCHoklch(61.09% 0.134 292.7)
XYZxyz(26.9053, 21.5446, 59.8560)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772CC #B7CC72
analogous
#728ACC #8772CC #B472CC
triadic
#8772CC #CC8772 #72CC87
tetradic
#8772CC #CC728A #B7CC72 #72CCB4
square
#8772CC #CC728A #B7CC72 #72CCB4
split-complementary
#8772CC #CCB472 #8ACC72
monochromatic
#493490 #6145BC #8772CC #AD9FDC #D4CCED

Accessibility & contrast

On white

3.96
#8772CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8772CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772CC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772CC#FFFFFF#000000##000000
##8772CC1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#778395
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8772cc;
/* rgb */ color: rgb(135, 114, 204);
/* oklch */ color: oklch(61.1% 0.134 292.7);
Tailwind
colors: {
  custom: {
    50: '#ad9bdc',
    500: '#8772cc',
    950: '#000000',
  },
}
SCSS
$custom: #8772cc;
$custom-light: #ad9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8772cc",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 254,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.13396,
    "h": 292.7
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#8772CC
secondary
#D6DDBC
accent
#BA2B99
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772CC

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

Preview Lab → · Contrast checker → · Palette generator →

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