#8762DD#8762DD

#8762DD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.180 H 294.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8762DD
RGBrgb(135, 98, 221)
HSLhsl(258, 64%, 63%)
HSVhsv(258, 56%, 87%)
CMYKcmyk(38.9%, 55.7%, 0%, 13.3%)
CIE-LABlab(50.81, 42.35, -57.94)
CIE-LCHlch(50.81, 71.77, 306.16°)
OKLaboklab(59.37% 0.0736 -0.1646)
OKLCHoklch(59.37% 0.18 294.1)
XYZxyz(27.4071, 19.1061, 70.6364)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762DD #B8DD62
analogous
#627ADD #8762DD #C562DD
triadic
#8762DD #DD8762 #62DD87
tetradic
#8762DD #DD627A #B8DD62 #62DDC5
square
#8762DD #DD627A #B8DD62 #62DDC5
split-complementary
#8762DD #DDC562 #7ADD62
monochromatic
#4923A2 #6130D2 #8762DD #AD94E8 #D4C7F3

Accessibility & contrast

On white

4.36
#8762DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8762DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762DD#FFFFFF#000000##000000
##8762DD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE1
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#717C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8762dd;
/* rgb */ color: rgb(135, 98, 221);
/* oklch */ color: oklch(59.4% 0.180 294.1);
Tailwind
colors: {
  custom: {
    50: '#af90e8',
    500: '#8762dd',
    950: '#000000',
  },
}
SCSS
$custom: #8762dd;
$custom-light: #af90e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8762dd",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 258.049,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.1803,
    "h": 294.1
  },
  "luminance": 0.19107
}

Semantic roles & 50–950 ramp

primary
#8762DD
secondary
#D6E4B7
accent
#CC1996
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762DD

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

Preview Lab → · Contrast checker → · Palette generator →

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