#8D55D2#8D55D2

#8D55D2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.186 H 301.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D55D2
RGBrgb(141, 85, 210)
HSLhsl(267, 58%, 58%)
HSVhsv(267, 60%, 82%)
CMYKcmyk(32.9%, 59.5%, 0%, 17.6%)
CIE-LABlab(48.02, 48.04, -56.13)
CIE-LCHlch(48.02, 73.88, 310.56°)
OKLaboklab(57.24% 0.0971 -0.1591)
OKLCHoklch(57.24% 0.186 301.4)
XYZxyz(25.8631, 16.8128, 62.8429)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D55D2 #9AD255
analogous
#555BD2 #8D55D2 #CC55D2
triadic
#8D55D2 #D28D55 #55D28D
tetradic
#8D55D2 #D2555B #9AD255 #55D2CC
square
#8D55D2 #D2555B #9AD255 #55D2CC
split-complementary
#8D55D2 #D2CC55 #5BD255
monochromatic
#512488 #6E31B9 #8D55D2 #AD85DF #CEB6EC

Accessibility & contrast

On white

4.81
#8D55D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8D55D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D55D2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D55D2#FFFFFF#000000##FFFFFF
##8D55D21.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)
#0D71D6
Deuteranopia (green-blind)
#3071CF
Tritanopia (blue-blind)
#7F6F8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d55d2;
/* rgb */ color: rgb(141, 85, 210);
/* oklch */ color: oklch(57.2% 0.186 301.4);
Tailwind
colors: {
  custom: {
    50: '#b287e0',
    500: '#8d55d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d55d2;
$custom-light: #b287e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d55d2",
  "rgb": {
    "r": 141,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 266.88,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.18635,
    "h": 301.4
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#8D55D2
secondary
#C4DAA8
accent
#E1469C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D55D2

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

Preview Lab → · Contrast checker → · Palette generator →

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