#8D45CA#8D45CA

#8D45CA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.200 H 305.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8D45CA
RGBrgb(141, 69, 202)
HSLhsl(272, 56%, 53%)
HSVhsv(272, 66%, 79%)
CMYKcmyk(30.2%, 65.8%, 0%, 20.8%)
CIE-LABlab(44.49, 54.27, -57.22)
CIE-LCHlch(44.49, 78.86, 313.48°)
OKLaboklab(54.52% 0.1161 -0.1622)
OKLCHoklch(54.52% 0.2 305.6)
XYZxyz(23.7710, 14.1834, 57.3510)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45CA #82CA45
analogous
#4A45CA #8D45CA #CA45C5
triadic
#8D45CA #CA8D45 #45CA8D
tetradic
#8D45CA #CA4A45 #82CA45 #45C5CA
square
#8D45CA #CA4A45 #82CA45 #45C5CA
split-complementary
#8D45CA #C5CA45 #45CA4A
monochromatic
#4E2174 #6E2FA3 #8D45CA #AA75D8 #C7A4E5

Accessibility & contrast

On white

5.47
#8D45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8D45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45CA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45CA#FFFFFF#000000##FFFFFF
##8D45CA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#2069C7
Tritanopia (blue-blind)
#826282
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d45ca;
/* rgb */ color: rgb(141, 69, 202);
/* oklch */ color: oklch(54.5% 0.200 305.6);
Tailwind
colors: {
  custom: {
    50: '#b37ddb',
    500: '#8d45ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d45ca;
$custom-light: #b37ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45ca",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 272.481,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54522,
    "c": 0.1995,
    "h": 305.6
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#8D45CA
secondary
#B3D299
accent
#DF498E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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