#8D45CD#8D45CD

#8D45CD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.203 H 304.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8D45CD
RGBrgb(141, 69, 205)
HSLhsl(272, 58%, 54%)
HSVhsv(272, 66%, 80%)
CMYKcmyk(31.2%, 66.3%, 0%, 19.6%)
CIE-LABlab(44.70, 54.97, -58.62)
CIE-LCHlch(44.70, 80.36, 313.16°)
OKLaboklab(54.73% 0.1158 -0.1663)
OKLCHoklch(54.73% 0.203 304.9)
XYZxyz(24.1296, 14.3269, 59.2399)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45CD #85CD45
analogous
#4945CD #8D45CD #CD45C9
triadic
#8D45CD #CD8D45 #45CD8D
tetradic
#8D45CD #CD4945 #85CD45 #45C9CD
square
#8D45CD #CD4945 #85CD45 #45C9CD
split-complementary
#8D45CD #C9CD45 #45CD49
monochromatic
#4E2077 #6E2DA8 #8D45CD #AB75DA #C8A5E7

Accessibility & contrast

On white

5.43
#8D45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D45CD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45CD#FFFFFF#000000##FFFFFF
##8D45CD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#816383
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d45cd;
/* rgb */ color: rgb(141, 69, 205);
/* oklch */ color: oklch(54.7% 0.203 304.9);
Tailwind
colors: {
  custom: {
    50: '#b37ddd',
    500: '#8d45cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d45cd;
$custom-light: #b37ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45cd",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 271.765,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54732,
    "c": 0.2027,
    "h": 304.9
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#8D45CD
secondary
#B5D49A
accent
#E1478F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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