#8772D7#8772D7

#8772D7 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.149 H 291.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8772D7
RGBrgb(135, 114, 215)
HSLhsl(252, 56%, 65%)
HSVhsv(252, 47%, 84%)
CMYKcmyk(37.2%, 47%, 0%, 15.7%)
CIE-LABlab(54.12, 31.51, -49.25)
CIE-LCHlch(54.12, 58.47, 302.61°)
OKLaboklab(61.72% 0.0533 -0.1391)
OKLCHoklch(61.72% 0.149 291)
XYZxyz(28.2714, 22.0911, 67.0513)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772D7 #C2D772
analogous
#7290D7 #8772D7 #B972D7
triadic
#8772D7 #D78772 #72D787
tetradic
#8772D7 #D77290 #C2D772 #72D7B9
square
#8772D7 #D77290 #C2D772 #72D7B9
split-complementary
#8772D7 #D7B972 #90D772
monochromatic
#462EA1 #5E42C9 #8772D7 #B0A2E5 #D8D1F2

Accessibility & contrast

On white

3.88
#8772D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8772D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772D7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772D7#FFFFFF#000000##000000
##8772D71.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D83DB
Deuteranopia (green-blind)
#4F7FD5
Tritanopia (blue-blind)
#72869A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8772d7;
/* rgb */ color: rgb(135, 114, 215);
/* oklch */ color: oklch(61.7% 0.149 291.0);
Tailwind
colors: {
  custom: {
    50: '#ad9be4',
    500: '#8772d7',
    950: '#000000',
  },
}
SCSS
$custom: #8772d7;
$custom-light: #ad9be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8772d7",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 252.475,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.14893,
    "h": 291
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#8772D7
secondary
#DDE4C1
accent
#C322A2
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#110E15
muted
#807E84

Preview Lab

Preview with #8772D7

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

Preview Lab → · Contrast checker → · Palette generator →

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