#8D45D4#8D45D4

#8D45D4 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.210 H 303.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8D45D4
RGBrgb(141, 69, 212)
HSLhsl(270, 62%, 55%)
HSVhsv(270, 67%, 83%)
CMYKcmyk(33.5%, 67.5%, 0%, 16.9%)
CIE-LABlab(45.18, 56.62, -61.86)
CIE-LCHlch(45.18, 83.86, 312.46°)
OKLaboklab(55.23% 0.1151 -0.1759)
OKLCHoklch(55.23% 0.21 303.2)
XYZxyz(24.9935, 14.6724, 63.7899)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45D4 #8CD445
analogous
#4645D4 #8D45D4 #D445D3
triadic
#8D45D4 #D48D45 #45D48D
tetradic
#8D45D4 #D44645 #8CD445 #45D3D4
square
#8D45D4 #D44645 #8CD445 #45D3D4
split-complementary
#8D45D4 #D3D445 #45D446
monochromatic
#501E81 #6E29B3 #8D45D4 #AB77DF #CAA8EB

Accessibility & contrast

On white

5.34
#8D45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8D45D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45D4#FFFFFF#000000##FFFFFF
##8D45D41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#006BD1
Tritanopia (blue-blind)
#7F6687
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d45d4;
/* rgb */ color: rgb(141, 69, 212);
/* oklch */ color: oklch(55.2% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#b37ee2',
    500: '#8d45d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d45d4;
$custom-light: #b37ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45d4",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 270.21,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.21016,
    "h": 303.2
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#8D45D4
secondary
#BAD89C
accent
#E64293
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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