#8772DB#8772DB

#8772DB is a mid, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.154 H 290.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8772DB
RGBrgb(135, 114, 219)
HSLhsl(252, 59%, 65%)
HSVhsv(252, 48%, 86%)
CMYKcmyk(38.4%, 47.9%, 0%, 14.1%)
CIE-LABlab(54.34, 32.60, -51.16)
CIE-LCHlch(54.34, 60.66, 302.50°)
OKLaboklab(61.96% 0.0537 -0.1447)
OKLCHoklch(61.96% 0.154 290.4)
XYZxyz(28.7917, 22.2992, 69.7913)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772DB #C6DB72
analogous
#7291DB #8772DB #BB72DB
triadic
#8772DB #DB8772 #72DB87
tetradic
#8772DB #DB7291 #C6DB72 #72DBBB
square
#8772DB #DB7291 #C6DB72 #72DBBB
split-complementary
#8772DB #DBBB72 #91DB72
monochromatic
#442BA8 #5E41CF #8772DB #B0A3E7 #DAD4F4

Accessibility & contrast

On white

3.85
#8772DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8772DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772DB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772DB#FFFFFF#000000##000000
##8772DB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#71879C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8772db;
/* rgb */ color: rgb(135, 114, 219);
/* oklch */ color: oklch(62.0% 0.154 290.4);
Tailwind
colors: {
  custom: {
    50: '#ae9be7',
    500: '#8772db',
    950: '#000000',
  },
}
SCSS
$custom: #8772db;
$custom-light: #ae9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8772db",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 252,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.15431,
    "h": 290.4
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#8772DB
secondary
#DFE6C3
accent
#C71FA5
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772DB

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

Preview Lab → · Contrast checker → · Palette generator →

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