#8772CD#8772CD

#8772CD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.1% C 0.135 H 292.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8772CD
RGBrgb(135, 114, 205)
HSLhsl(254, 48%, 63%)
HSVhsv(254, 44%, 80%)
CMYKcmyk(34.1%, 44.4%, 0%, 19.6%)
CIE-LABlab(53.59, 28.82, -44.43)
CIE-LCHlch(53.59, 52.96, 302.97°)
OKLaboklab(61.15% 0.0519 -0.125)
OKLCHoklch(61.15% 0.135 292.6)
XYZxyz(27.0256, 21.5927, 60.4897)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772CD #B8CD72
analogous
#728BCD #8772CD #B472CD
triadic
#8772CD #CD8772 #72CD87
tetradic
#8772CD #CD728B #B8CD72 #72CDB4
square
#8772CD #CD728B #B8CD72 #72CDB4
split-complementary
#8772CD #CDB472 #8BCD72
monochromatic
#493391 #6145BD #8772CD #AD9FDD #D4CCED

Accessibility & contrast

On white

3.95
#8772CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8772CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772CD#FFFFFF#000000##000000
##8772CD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#768396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8772cd;
/* rgb */ color: rgb(135, 114, 205);
/* oklch */ color: oklch(61.1% 0.135 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad9bdd',
    500: '#8772cd',
    950: '#000000',
  },
}
SCSS
$custom: #8772cd;
$custom-light: #ad9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8772cd",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 253.846,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.13533,
    "h": 292.6
  },
  "luminance": 0.21593
}

Semantic roles & 50–950 ramp

primary
#8772CD
secondary
#D6DEBD
accent
#BB2B9A
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772CD

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

Preview Lab → · Contrast checker → · Palette generator →

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