#8D54CB#8D54CB

#8D54CB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.6% C 0.180 H 303.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D54CB
RGBrgb(141, 84, 203)
HSLhsl(269, 53%, 56%)
HSVhsv(269, 59%, 80%)
CMYKcmyk(30.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(47.39, 46.86, -53.14)
CIE-LCHlch(47.39, 70.85, 311.40°)
OKLaboklab(56.64% 0.0984 -0.1503)
OKLCHoklch(56.64% 0.18 303.2)
XYZxyz(24.9319, 16.3152, 58.3240)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54CB #92CB54
analogous
#5457CB #8D54CB #C854CB
triadic
#8D54CB #CB8D54 #54CB8D
tetradic
#8D54CB #CB5457 #92CB54 #54CBC8
square
#8D54CB #CB5457 #92CB54 #54CBC8
split-complementary
#8D54CB #CBC854 #57CB54
monochromatic
#50267E #6E35AD #8D54CB #AC83D9 #CCB2E8

Accessibility & contrast

On white

4.93
#8D54CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8D54CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54CB#FFFFFF#000000##FFFFFF
##8D54CB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#816C87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d54cb;
/* rgb */ color: rgb(141, 84, 203);
/* oklch */ color: oklch(56.6% 0.180 303.2);
Tailwind
colors: {
  custom: {
    50: '#b287db',
    500: '#8d54cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d54cb;
$custom-light: #b287db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54cb",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 268.739,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.17963,
    "h": 303.2
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#8D54CB
secondary
#BED6A5
accent
#DD4B97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D54CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8D54CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva