#8D45CE#8D45CE

#8D45CE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.204 H 304.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D45CE
RGBrgb(141, 69, 206)
HSLhsl(272, 58%, 54%)
HSVhsv(272, 67%, 81%)
CMYKcmyk(31.6%, 66.5%, 0%, 19.2%)
CIE-LABlab(44.77, 55.20, -59.09)
CIE-LCHlch(44.77, 80.86, 313.05°)
OKLaboklab(54.8% 0.1157 -0.1677)
OKLCHoklch(54.8% 0.204 304.6)
XYZxyz(24.2507, 14.3753, 59.8777)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45CE #86CE45
analogous
#4945CE #8D45CE #CE45CB
triadic
#8D45CE #CE8D45 #45CE8D
tetradic
#8D45CE #CE4945 #86CE45 #45CBCE
square
#8D45CE #CE4945 #86CE45 #45CBCE
split-complementary
#8D45CE #CBCE45 #45CE49
monochromatic
#4F2079 #6E2DA9 #8D45CE #AB75DB #C8A6E8

Accessibility & contrast

On white

5.42
#8D45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8D45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45CE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45CE#FFFFFF#000000##FFFFFF
##8D45CE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#816384
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d45ce;
/* rgb */ color: rgb(141, 69, 206);
/* oklch */ color: oklch(54.8% 0.204 304.6);
Tailwind
colors: {
  custom: {
    50: '#b37dde',
    500: '#8d45ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d45ce;
$custom-light: #b37dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45ce",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 271.533,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.20377,
    "h": 304.6
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#8D45CE
secondary
#B6D59A
accent
#E24690
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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