#8D45D2#8D45D2

#8D45D2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.208 H 303.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8D45D2
RGBrgb(141, 69, 210)
HSLhsl(271, 61%, 55%)
HSVhsv(271, 67%, 82%)
CMYKcmyk(32.9%, 67.1%, 0%, 17.6%)
CIE-LABlab(45.04, 56.14, -60.94)
CIE-LCHlch(45.04, 82.86, 312.65°)
OKLaboklab(55.09% 0.1153 -0.1732)
OKLCHoklch(55.09% 0.208 303.7)
XYZxyz(24.7428, 14.5722, 62.4695)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45D2 #8AD245
analogous
#4645D2 #8D45D2 #D245D1
triadic
#8D45D2 #D28D45 #45D28D
tetradic
#8D45D2 #D24645 #8AD245 #45D1D2
square
#8D45D2 #D24645 #8AD245 #45D1D2
split-complementary
#8D45D2 #D1D245 #45D246
monochromatic
#4F1F7E #6E2AAF #8D45D2 #AB76DE #C9A8EA

Accessibility & contrast

On white

5.36
#8D45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8D45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45D2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45D2#FFFFFF#000000##FFFFFF
##8D45D21.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#076ACF
Tritanopia (blue-blind)
#806586
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d45d2;
/* rgb */ color: rgb(141, 69, 210);
/* oklch */ color: oklch(55.1% 0.208 303.7);
Tailwind
colors: {
  custom: {
    50: '#b37ee1',
    500: '#8d45d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d45d2;
$custom-light: #b37ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45d2",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 270.638,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.20803,
    "h": 303.7
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#8D45D2
secondary
#B9D79C
accent
#E44492
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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