#8D45D8#8D45D8

#8D45D8 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.214 H 302.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D45D8
RGBrgb(141, 69, 216)
HSLhsl(269, 65%, 56%)
HSVhsv(269, 68%, 85%)
CMYKcmyk(34.7%, 68.1%, 0%, 15.3%)
CIE-LABlab(45.47, 57.56, -63.70)
CIE-LCHlch(45.47, 85.85, 312.10°)
OKLaboklab(55.52% 0.1145 -0.1813)
OKLCHoklch(55.52% 0.214 302.3)
XYZxyz(25.5044, 14.8768, 66.4803)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45D8 #90D845
analogous
#4546D8 #8D45D8 #D645D8
triadic
#8D45D8 #D88D45 #45D88D
tetradic
#8D45D8 #D84546 #90D845 #45D8D6
square
#8D45D8 #D84546 #90D845 #45D8D6
split-complementary
#8D45D8 #D8D645 #46D845
monochromatic
#501C86 #6E27B9 #8D45D8 #AC78E3 #CBAAED

Accessibility & contrast

On white

5.28
#8D45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45D8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45D8#FFFFFF#000000##FFFFFF
##8D45D81.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#7E6789
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d45d8;
/* rgb */ color: rgb(141, 69, 216);
/* oklch */ color: oklch(55.5% 0.214 302.3);
Tailwind
colors: {
  custom: {
    50: '#b47ee5',
    500: '#8d45d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d45d8;
$custom-light: #b47ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45d8",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 269.388,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.21441,
    "h": 302.3
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#8D45D8
secondary
#BDDB9E
accent
#E84096
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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