#8772DF#8772DF

#8772DF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.160 H 289.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8772DF
RGBrgb(135, 114, 223)
HSLhsl(252, 63%, 66%)
HSVhsv(252, 49%, 87%)
CMYKcmyk(39.5%, 48.9%, 0%, 12.5%)
CIE-LABlab(54.57, 33.69, -53.06)
CIE-LCHlch(54.57, 62.85, 302.42°)
OKLaboklab(62.2% 0.0541 -0.1502)
OKLCHoklch(62.2% 0.16 289.8)
XYZxyz(29.3246, 22.5124, 72.5980)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772DF #CADF72
analogous
#7293DF #8772DF #BD72DF
triadic
#8772DF #DF8772 #72DF87
tetradic
#8772DF #DF7293 #CADF72 #72DFBD
square
#8772DF #DF7293 #CADF72 #72DFBD
split-complementary
#8772DF #DFBD72 #93DF72
monochromatic
#4228AF #5D40D4 #8772DF #B1A4EA #DCD6F6

Accessibility & contrast

On white

3.82
#8772DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8772DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772DF#FFFFFF#000000##000000
##8772DF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#6F889E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8772df;
/* rgb */ color: rgb(135, 114, 223);
/* oklch */ color: oklch(62.2% 0.160 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae9be9',
    500: '#8772df',
    950: '#000000',
  },
}
SCSS
$custom: #8772df;
$custom-light: #ae9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8772df",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 251.56,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.15966,
    "h": 289.8
  },
  "luminance": 0.22513
}

Semantic roles & 50–950 ramp

primary
#8772DF
secondary
#E1E8C4
accent
#CB1BA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772DF

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

Preview Lab → · Contrast checker → · Palette generator →

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