#8772CF#8772CF

#8772CF is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.138 H 292.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8772CF
RGBrgb(135, 114, 207)
HSLhsl(254, 49%, 63%)
HSVhsv(254, 45%, 81%)
CMYKcmyk(34.8%, 44.9%, 0%, 18.8%)
CIE-LABlab(53.70, 29.35, -45.40)
CIE-LCHlch(53.70, 54.06, 302.89°)
OKLaboklab(61.26% 0.0522 -0.1278)
OKLCHoklch(61.26% 0.138 292.2)
XYZxyz(27.2685, 21.6899, 61.7693)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772CF #BACF72
analogous
#728CCF #8772CF #B572CF
triadic
#8772CF #CF8772 #72CF87
tetradic
#8772CF #CF728C #BACF72 #72CFB5
square
#8772CF #CF728C #BACF72 #72CFB5
split-complementary
#8772CF #CFB572 #8CCF72
monochromatic
#493294 #6044BF #8772CF #AEA0DF #D5CDEE

Accessibility & contrast

On white

3.93
#8772CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8772CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772CF#FFFFFF#000000##000000
##8772CF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D2
Deuteranopia (green-blind)
#557FCD
Tritanopia (blue-blind)
#768496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8772cf;
/* rgb */ color: rgb(135, 114, 207);
/* oklch */ color: oklch(61.3% 0.138 292.2);
Tailwind
colors: {
  custom: {
    50: '#ad9bde',
    500: '#8772cf',
    950: '#000000',
  },
}
SCSS
$custom: #8772cf;
$custom-light: #ad9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8772cf",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 253.548,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6126,
    "c": 0.13806,
    "h": 292.2
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#8772CF
secondary
#D8DFBE
accent
#BD299B
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772CF

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

Preview Lab → · Contrast checker → · Palette generator →

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