#8762DB#8762DB

#8762DB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.178 H 294.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8762DB
RGBrgb(135, 98, 219)
HSLhsl(258, 63%, 62%)
HSVhsv(258, 55%, 86%)
CMYKcmyk(38.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(50.69, 41.81, -57.01)
CIE-LCHlch(50.69, 70.70, 306.26°)
OKLaboklab(59.24% 0.0736 -0.1618)
OKLCHoklch(59.24% 0.178 294.4)
XYZxyz(27.1422, 19.0001, 69.2415)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762DB #B6DB62
analogous
#627ADB #8762DB #C362DB
triadic
#8762DB #DB8762 #62DB87
tetradic
#8762DB #DB627A #B6DB62 #62DBC3
square
#8762DB #DB627A #B6DB62 #62DBC3
split-complementary
#8762DB #DBC362 #7ADB62
monochromatic
#4A249E #6130D0 #8762DB #AD94E6 #D3C6F2

Accessibility & contrast

On white

4.37
#8762DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8762DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762DB#FFFFFF#000000##000000
##8762DB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#727B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8762db;
/* rgb */ color: rgb(135, 98, 219);
/* oklch */ color: oklch(59.2% 0.178 294.4);
Tailwind
colors: {
  custom: {
    50: '#af90e7',
    500: '#8762db',
    950: '#000000',
  },
}
SCSS
$custom: #8762db;
$custom-light: #af90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8762db",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 258.347,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59235,
    "c": 0.17778,
    "h": 294.4
  },
  "luminance": 0.19001
}

Semantic roles & 50–950 ramp

primary
#8762DB
secondary
#D5E3B6
accent
#CA1B95
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8762DB

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

Preview Lab → · Contrast checker → · Palette generator →

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