#8772E7#8772E7

#8772E7 is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.7% C 0.170 H 288.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8772E7
RGBrgb(135, 114, 231)
HSLhsl(251, 71%, 68%)
HSVhsv(251, 51%, 91%)
CMYKcmyk(41.6%, 50.6%, 0%, 9.4%)
CIE-LABlab(55.02, 35.90, -56.81)
CIE-LCHlch(55.02, 67.21, 302.29°)
OKLaboklab(62.69% 0.0548 -0.1612)
OKLCHoklch(62.69% 0.17 288.8)
XYZxyz(30.4288, 22.9540, 78.4131)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8772E7 #D2E772
analogous
#7298E7 #8772E7 #C172E7
triadic
#8772E7 #E78772 #72E787
tetradic
#8772E7 #E77298 #D2E772 #72E7C1
square
#8772E7 #E77298 #D2E772 #72E7C1
split-complementary
#8772E7 #E7C172 #98E772
monochromatic
#3D20BE #5A3EDE #8772E7 #B4A6F0 #E0DBF9

Accessibility & contrast

On white

3.76
#8772E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8772E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8772E7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8772E7#FFFFFF#000000##000000
##8772E71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F86EB
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#6B8AA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8772e7;
/* rgb */ color: rgb(135, 114, 231);
/* oklch */ color: oklch(62.7% 0.170 288.8);
Tailwind
colors: {
  custom: {
    50: '#af9bef',
    500: '#8772e7',
    950: '#000000',
  },
}
SCSS
$custom: #8772e7;
$custom-light: #af9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8772e7",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 250.769,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.17029,
    "h": 288.8
  },
  "luminance": 0.22955
}

Semantic roles & 50–950 ramp

primary
#8772E7
secondary
#E6EDC8
accent
#D313B0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8772E7

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

Preview Lab → · Contrast checker → · Palette generator →

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