#8754DB#8754DB

#8754DB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.197 H 297.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8754DB
RGBrgb(135, 84, 219)
HSLhsl(263, 65%, 59%)
HSVhsv(263, 62%, 86%)
CMYKcmyk(38.4%, 61.6%, 0%, 14.1%)
CIE-LABlab(47.76, 49.52, -61.73)
CIE-LCHlch(47.76, 79.14, 308.74°)
OKLaboklab(57.09% 0.09 -0.1757)
OKLCHoklch(57.09% 0.197 297.1)
XYZxyz(25.9449, 16.6056, 68.8424)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754DB #A8DB54
analogous
#5465DB #8754DB #CB54DB
triadic
#8754DB #DB8754 #54DB87
tetradic
#8754DB #DB5465 #A8DB54 #54DBCB
square
#8754DB #DB5465 #A8DB54 #54DBCB
split-complementary
#8754DB #DBCB54 #65DB54
monochromatic
#4C1F95 #662AC8 #8754DB #AA87E6 #CEB9F0

Accessibility & contrast

On white

4.86
#8754DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8754DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754DB#FFFFFF#000000##FFFFFF
##8754DB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0C70D8
Tritanopia (blue-blind)
#737290
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8754db;
/* rgb */ color: rgb(135, 84, 219);
/* oklch */ color: oklch(57.1% 0.197 297.1);
Tailwind
colors: {
  custom: {
    50: '#af87e7',
    500: '#8754db',
    950: '#000000',
  },
}
SCSS
$custom: #8754db;
$custom-light: #af87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8754db",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 262.667,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.1974,
    "h": 297.1
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#8754DB
secondary
#CCE0AB
accent
#E840A9
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754DB

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

Preview Lab → · Contrast checker → · Palette generator →

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