#8D46CE#8D46CE

#8D46CE is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.202 H 304.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8D46CE
RGBrgb(141, 70, 206)
HSLhsl(271, 58%, 54%)
HSVhsv(271, 66%, 81%)
CMYKcmyk(31.6%, 66%, 0%, 19.2%)
CIE-LABlab(44.94, 54.72, -58.81)
CIE-LCHlch(44.94, 80.33, 312.94°)
OKLaboklab(54.93% 0.1146 -0.1669)
OKLCHoklch(54.93% 0.202 304.5)
XYZxyz(24.3127, 14.4994, 59.8984)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46CE #87CE46
analogous
#4946CE #8D46CE #CE46CB
triadic
#8D46CE #CE8D46 #46CE8D
tetradic
#8D46CE #CE4946 #87CE46 #46CBCE
square
#8D46CE #CE4946 #87CE46 #46CBCE
split-complementary
#8D46CE #CBCE46 #46CE49
monochromatic
#4F2079 #6E2DAA #8D46CE #AB76DB #C9A7E8

Accessibility & contrast

On white

5.38
#8D46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8D46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46CE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46CE#FFFFFF#000000##FFFFFF
##8D46CE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#196ACB
Tritanopia (blue-blind)
#816484
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d46ce;
/* rgb */ color: rgb(141, 70, 206);
/* oklch */ color: oklch(54.9% 0.202 304.5);
Tailwind
colors: {
  custom: {
    50: '#b37ede',
    500: '#8d46ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d46ce;
$custom-light: #b37ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46ce",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 271.324,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.20246,
    "h": 304.5
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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