#8D55B2#8D55B2

#8D55B2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.3% C 0.149 H 310.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D55B2
RGBrgb(141, 85, 178)
HSLhsl(276, 38%, 52%)
HSVhsv(276, 52%, 70%)
CMYKcmyk(20.8%, 52.2%, 0%, 30.2%)
CIE-LABlab(46.14, 40.38, -40.61)
CIE-LCHlch(46.14, 57.27, 314.83°)
OKLaboklab(55.26% 0.096 -0.1136)
OKLCHoklch(55.26% 0.149 310.2)
XYZxyz(22.2674, 15.3745, 43.9054)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D55B2 #7AB255
analogous
#5F55B2 #8D55B2 #B255A9
triadic
#8D55B2 #B28D55 #55B28D
tetradic
#8D55B2 #B25F55 #7AB255 #55A9B2
square
#8D55B2 #B25F55 #7AB255 #55A9B2
split-complementary
#8D55B2 #A9B255 #55B25F
monochromatic
#4C2C61 #6D3F8B #8D55B2 #A97FC5 #C5A9D8

Accessibility & contrast

On white

5.15
#8D55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8D55B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D55B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D55B2#FFFFFF#000000##FFFFFF
##8D55B21.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#88657B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d55b2;
/* rgb */ color: rgb(141, 85, 178);
/* oklch */ color: oklch(55.3% 0.149 310.2);
Tailwind
colors: {
  custom: {
    50: '#b087c9',
    500: '#8d55b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d55b2;
$custom-light: #b087c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d55b2",
  "rgb": {
    "r": 141,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 276.129,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.1488,
    "h": 310.2
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#8D55B2
secondary
#ADC69D
accent
#CE5A88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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