#8867DB#8867DB

#8867DB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.171 H 293.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8867DB
RGBrgb(136, 103, 219)
HSLhsl(257, 62%, 63%)
HSVhsv(257, 53%, 86%)
CMYKcmyk(37.9%, 53%, 0%, 14.1%)
CIE-LABlab(51.89, 39.21, -55.07)
CIE-LCHlch(51.89, 67.60, 305.45°)
OKLaboklab(60.15% 0.0687 -0.1561)
OKLCHoklch(60.15% 0.171 293.8)
XYZxyz(27.7864, 20.0486, 69.4099)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8867DB #BADB67
analogous
#6780DB #8867DB #C267DB
triadic
#8867DB #DB8867 #67DB88
tetradic
#8867DB #DB6780 #BADB67 #67DBC2
square
#8867DB #DB6780 #BADB67 #67DBC2
split-complementary
#8867DB #DBC267 #80DB67
monochromatic
#4926A1 #6136CF #8867DB #AF98E7 #D5CAF2

Accessibility & contrast

On white

4.19
#8867DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8867DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8867DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8867DB#FFFFFF#000000##000000
##8867DB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#3C7AD8
Tritanopia (blue-blind)
#737F97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8867db;
/* rgb */ color: rgb(136, 103, 219);
/* oklch */ color: oklch(60.1% 0.171 293.8);
Tailwind
colors: {
  custom: {
    50: '#af93e7',
    500: '#8867db',
    950: '#000000',
  },
}
SCSS
$custom: #8867db;
$custom-light: #af93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8867db",
  "rgb": {
    "r": 136,
    "g": 103,
    "b": 219
  },
  "hsl": {
    "h": 257.069,
    "s": 61.702,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.17057,
    "h": 293.8
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#8867DB
secondary
#D8E4BA
accent
#C91C98
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8867DB

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

Preview Lab → · Contrast checker → · Palette generator →

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