#8D45CF#8D45CF

#8D45CF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.205 H 304.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D45CF
RGBrgb(141, 69, 207)
HSLhsl(271, 59%, 54%)
HSVhsv(271, 67%, 81%)
CMYKcmyk(31.9%, 66.7%, 0%, 18.8%)
CIE-LABlab(44.84, 55.44, -59.55)
CIE-LCHlch(44.84, 81.36, 312.95°)
OKLaboklab(54.87% 0.1156 -0.1691)
OKLCHoklch(54.87% 0.205 304.4)
XYZxyz(24.3726, 14.4241, 60.5195)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45CF #87CF45
analogous
#4845CF #8D45CF #CF45CC
triadic
#8D45CF #CF8D45 #45CF8D
tetradic
#8D45CF #CF4845 #87CF45 #45CCCF
square
#8D45CF #CF4845 #87CF45 #45CCCF
split-complementary
#8D45CF #CCCF45 #45CF48
monochromatic
#4F207A #6E2CAB #8D45CF #AB76DC #C9A6E8

Accessibility & contrast

On white

5.41
#8D45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8D45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45CF#FFFFFF#000000##FFFFFF
##8D45CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#146ACC
Tritanopia (blue-blind)
#816484
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d45cf;
/* rgb */ color: rgb(141, 69, 207);
/* oklch */ color: oklch(54.9% 0.205 304.4);
Tailwind
colors: {
  custom: {
    50: '#b37dde',
    500: '#8d45cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d45cf;
$custom-light: #b37dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45cf",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 271.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.20483,
    "h": 304.4
  },
  "luminance": 0.14424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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