#8D46CD#8D46CD

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

Color values

HEX#8D46CD
RGBrgb(141, 70, 205)
HSLhsl(272, 57%, 54%)
HSVhsv(272, 66%, 80%)
CMYKcmyk(31.2%, 65.9%, 0%, 19.6%)
CIE-LABlab(44.87, 54.49, -58.34)
CIE-LCHlch(44.87, 79.83, 313.04°)
OKLaboklab(54.86% 0.1147 -0.1655)
OKLCHoklch(54.86% 0.201 304.7)
XYZxyz(24.1916, 14.4509, 59.2606)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46CD #86CD46
analogous
#4A46CD #8D46CD #CD46C9
triadic
#8D46CD #CD8D46 #46CD8D
tetradic
#8D46CD #CD4A46 #86CD46 #46C9CD
square
#8D46CD #CD4A46 #86CD46 #46C9CD
split-complementary
#8D46CD #C9CD46 #46CD4A
monochromatic
#4F2078 #6E2DA8 #8D46CD #AB76DA #C8A6E7

Accessibility & contrast

On white

5.40
#8D46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8D46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46CD#FFFFFF#000000##FFFFFF
##8D46CD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#1C6ACA
Tritanopia (blue-blind)
#816484
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d46cd;
/* rgb */ color: rgb(141, 70, 205);
/* oklch */ color: oklch(54.9% 0.201 304.7);
Tailwind
colors: {
  custom: {
    50: '#b37edd',
    500: '#8d46cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d46cd;
$custom-light: #b37edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46cd",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 271.556,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.20139,
    "h": 304.7
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#8D46CD
secondary
#B6D49B
accent
#E14790
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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