#8772CB#8772CB

#8772CB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.0% C 0.133 H 292.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8772CB
RGBrgb(135, 114, 203)
HSLhsl(254, 46%, 62%)
HSVhsv(254, 44%, 80%)
CMYKcmyk(33.5%, 43.8%, 0%, 20.4%)
CIE-LABlab(53.49, 28.29, -43.45)
CIE-LCHlch(53.49, 51.85, 303.07°)
OKLaboklab(61.04% 0.0516 -0.1221)
OKLCHoklch(61.04% 0.133 292.9)
XYZxyz(26.7857, 21.4968, 59.2264)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772CB #B6CB72
analogous
#728ACB #8772CB #B372CB
triadic
#8772CB #CB8772 #72CB87
tetradic
#8772CB #CB728A #B6CB72 #72CBB3
square
#8772CB #CB728A #B6CB72 #72CBB3
split-complementary
#8772CB #CBB372 #8ACB72
monochromatic
#4A348E #6145BB #8772CB #AD9FDB #D3CBEC

Accessibility & contrast

On white

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

On black

5.30
#8772CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772CB#FFFFFF#000000##000000
##8772CB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#778395
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8772cb;
/* rgb */ color: rgb(135, 114, 203);
/* oklch */ color: oklch(61.0% 0.133 292.9);
Tailwind
colors: {
  custom: {
    50: '#ac9bdb',
    500: '#8772cb',
    950: '#000000',
  },
}
SCSS
$custom: #8772cb;
$custom-light: #ac9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8772cb",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 254.157,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.13258,
    "h": 292.9
  },
  "luminance": 0.21497
}

Semantic roles & 50–950 ramp

primary
#8772CB
secondary
#D5DDBC
accent
#B92C98
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8772CB

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

Preview Lab → · Contrast checker → · Palette generator →

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