#8D46CF#8D46CF

#8D46CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.204 H 304.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D46CF
RGBrgb(141, 70, 207)
HSLhsl(271, 59%, 54%)
HSVhsv(271, 66%, 81%)
CMYKcmyk(31.9%, 66.2%, 0%, 18.8%)
CIE-LABlab(45.01, 54.96, -59.27)
CIE-LCHlch(45.01, 80.83, 312.84°)
OKLaboklab(55% 0.1145 -0.1682)
OKLCHoklch(55% 0.204 304.2)
XYZxyz(24.4346, 14.5481, 60.5402)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46CF #88CF46
analogous
#4946CF #8D46CF #CF46CC
triadic
#8D46CF #CF8D46 #46CF8D
tetradic
#8D46CF #CF4946 #88CF46 #46CCCF
square
#8D46CF #CF4946 #88CF46 #46CCCF
split-complementary
#8D46CF #CCCF46 #46CF49
monochromatic
#4F207B #6E2CAB #8D46CF #AB77DC #C9A7E8

Accessibility & contrast

On white

5.37
#8D46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8D46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46CF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46CF#FFFFFF#000000##FFFFFF
##8D46CF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#816485
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d46cf;
/* rgb */ color: rgb(141, 70, 207);
/* oklch */ color: oklch(55.0% 0.204 304.2);
Tailwind
colors: {
  custom: {
    50: '#b37ede',
    500: '#8d46cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d46cf;
$custom-light: #b37ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46cf",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 271.095,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.20354,
    "h": 304.2
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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