#8772E5#8772E5

#8772E5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.6% C 0.168 H 289.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8772E5
RGBrgb(135, 114, 229)
HSLhsl(251, 69%, 67%)
HSVhsv(251, 50%, 90%)
CMYKcmyk(41%, 50.2%, 0%, 10.2%)
CIE-LABlab(54.91, 35.35, -55.88)
CIE-LCHlch(54.91, 66.12, 302.32°)
OKLaboklab(62.56% 0.0546 -0.1585)
OKLCHoklch(62.56% 0.168 289)
XYZxyz(30.1479, 22.8417, 76.9340)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772E5 #D0E572
analogous
#7296E5 #8772E5 #C172E5
triadic
#8772E5 #E58772 #72E587
tetradic
#8772E5 #E57296 #D0E572 #72E5C1
square
#8772E5 #E57296 #D0E572 #72E5C1
split-complementary
#8772E5 #E5C172 #96E572
monochromatic
#3E22BA #5B3EDB #8772E5 #B3A6EF #DFD9F8

Accessibility & contrast

On white

3.77
#8772E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8772E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772E5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772E5#FFFFFF#000000##000000
##8772E51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4186E9
Deuteranopia (green-blind)
#4281E2
Tritanopia (blue-blind)
#6C8AA1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8772e5;
/* rgb */ color: rgb(135, 114, 229);
/* oklch */ color: oklch(62.6% 0.168 289.0);
Tailwind
colors: {
  custom: {
    50: '#af9bee',
    500: '#8772e5',
    950: '#000000',
  },
}
SCSS
$custom: #8772e5;
$custom-light: #af9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8772e5",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 250.957,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62563,
    "c": 0.16765,
    "h": 289
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#8772E5
secondary
#E5ECC7
accent
#D115AE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772E5

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

Preview Lab → · Contrast checker → · Palette generator →

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