#8D46CA#8D46CA

#8D46CA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.198 H 305.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D46CA
RGBrgb(141, 70, 202)
HSLhsl(272, 55%, 53%)
HSVhsv(272, 65%, 79%)
CMYKcmyk(30.2%, 65.3%, 0%, 20.8%)
CIE-LABlab(44.67, 53.78, -56.93)
CIE-LCHlch(44.67, 78.32, 313.37°)
OKLaboklab(54.65% 0.115 -0.1614)
OKLCHoklch(54.65% 0.198 305.5)
XYZxyz(23.8330, 14.3075, 57.3717)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46CA #83CA46
analogous
#4B46CA #8D46CA #CA46C5
triadic
#8D46CA #CA8D46 #46CA8D
tetradic
#8D46CA #CA4B46 #83CA46 #46C5CA
square
#8D46CA #CA4B46 #83CA46 #46C5CA
split-complementary
#8D46CA #C5CA46 #46CA4B
monochromatic
#4E2174 #6E2FA4 #8D46CA #AA76D8 #C8A5E5

Accessibility & contrast

On white

5.44
#8D46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46CA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46CA#FFFFFF#000000##FFFFFF
##8D46CA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#826282
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d46ca;
/* rgb */ color: rgb(141, 70, 202);
/* oklch */ color: oklch(54.6% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#b37edb',
    500: '#8d46ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d46ca;
$custom-light: #b37edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46ca",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 272.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54648,
    "c": 0.19817,
    "h": 305.5
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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