#8754DF#8754DF

#8754DF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.202 H 296.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8754DF
RGBrgb(135, 84, 223)
HSLhsl(262, 68%, 60%)
HSVhsv(262, 62%, 87%)
CMYKcmyk(39.5%, 62.3%, 0%, 12.5%)
CIE-LABlab(48.03, 50.56, -63.56)
CIE-LCHlch(48.03, 81.22, 308.50°)
OKLaboklab(57.37% 0.0897 -0.1811)
OKLCHoklch(57.37% 0.202 296.3)
XYZxyz(26.4778, 16.8188, 71.6491)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754DF #ACDF54
analogous
#5467DF #8754DF #CC54DF
triadic
#8754DF #DF8754 #54DF87
tetradic
#8754DF #DF5467 #ACDF54 #54DFCC
square
#8754DF #DF5467 #ACDF54 #54DFCC
split-complementary
#8754DF #DFCC54 #67DF54
monochromatic
#4B1D9C #6427CF #8754DF #AB88E9 #CFBBF2

Accessibility & contrast

On white

4.81
#8754DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8754DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754DF#FFFFFF#000000##FFFFFF
##8754DF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#717392
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8754df;
/* rgb */ color: rgb(135, 84, 223);
/* oklch */ color: oklch(57.4% 0.202 296.3);
Tailwind
colors: {
  custom: {
    50: '#b087ea',
    500: '#8754df',
    950: '#000000',
  },
}
SCSS
$custom: #8754df;
$custom-light: #b087ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8754df",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 262.014,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57374,
    "c": 0.20209,
    "h": 296.3
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#8754DF
secondary
#CEE2AD
accent
#D0158C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754DF

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

Preview Lab → · Contrast checker → · Palette generator →

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