#8762DE#8762DE

#8762DE is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.182 H 293.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8762DE
RGBrgb(135, 98, 222)
HSLhsl(258, 65%, 63%)
HSVhsv(258, 56%, 87%)
CMYKcmyk(39.2%, 55.9%, 0%, 12.9%)
CIE-LABlab(50.87, 42.62, -58.41)
CIE-LCHlch(50.87, 72.30, 306.11°)
OKLaboklab(59.43% 0.0736 -0.166)
OKLCHoklch(59.43% 0.182 293.9)
XYZxyz(27.5407, 19.1595, 71.3402)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762DE #B9DE62
analogous
#627BDE #8762DE #C562DE
triadic
#8762DE #DE8762 #62DE87
tetradic
#8762DE #DE627B #B9DE62 #62DEC5
square
#8762DE #DE627B #B9DE62 #62DEC5
split-complementary
#8762DE #DEC562 #7BDE62
monochromatic
#4922A3 #602FD3 #8762DE #AE95E9 #D4C7F3

Accessibility & contrast

On white

4.35
#8762DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8762DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762DE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762DE#FFFFFF#000000##000000
##8762DE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#227AE2
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#717C97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8762de;
/* rgb */ color: rgb(135, 98, 222);
/* oklch */ color: oklch(59.4% 0.182 293.9);
Tailwind
colors: {
  custom: {
    50: '#af90e9',
    500: '#8762de',
    950: '#000000',
  },
}
SCSS
$custom: #8762de;
$custom-light: #af90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8762de",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 257.903,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.18155,
    "h": 293.9
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#8762DE
secondary
#D7E4B7
accent
#CD1897
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762DE

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

Preview Lab → · Contrast checker → · Palette generator →

#8762DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva