#8D45C1#8D45C1

#8D45C1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.190 H 308.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D45C1
RGBrgb(141, 69, 193)
HSLhsl(275, 50%, 51%)
HSVhsv(275, 64%, 76%)
CMYKcmyk(26.9%, 64.2%, 0%, 24.3%)
CIE-LABlab(43.90, 52.19, -52.96)
CIE-LCHlch(43.90, 74.35, 314.58°)
OKLaboklab(53.9% 0.1168 -0.1497)
OKLCHoklch(53.9% 0.19 308)
XYZxyz(22.7363, 13.7695, 51.9018)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45C1 #79C145
analogous
#4F45C1 #8D45C1 #C145B7
triadic
#8D45C1 #C18D45 #45C18D
tetradic
#8D45C1 #C14F45 #79C145 #45B7C1
square
#8D45C1 #C14F45 #79C145 #45B7C1
split-complementary
#8D45C1 #B7C145 #45C14F
monochromatic
#4B2369 #6C3297 #8D45C1 #A973D0 #C5A1E0

Accessibility & contrast

On white

5.59
#8D45C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8D45C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45C1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45C1#FFFFFF#000000##FFFFFF
##8D45C11.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#2E69BE
Tritanopia (blue-blind)
#855F7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d45c1;
/* rgb */ color: rgb(141, 69, 193);
/* oklch */ color: oklch(53.9% 0.190 308.0);
Tailwind
colors: {
  custom: {
    50: '#b27dd4',
    500: '#8d45c1',
    950: '#000000',
  },
}
SCSS
$custom: #8d45c1;
$custom-light: #b27dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45c1",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 274.839,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.18989,
    "h": 308
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#8D45C1
secondary
#ACCC96
accent
#DA4E89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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