#8D2EC9#8D2EC9

#8D2EC9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.0% C 0.225 H 308.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8D2EC9
RGBrgb(141, 46, 201)
HSLhsl(277, 63%, 48%)
HSVhsv(277, 77%, 79%)
CMYKcmyk(29.9%, 77.1%, 0%, 21.2%)
CIE-LABlab(40.95, 63.83, -62.38)
CIE-LCHlch(40.95, 89.25, 315.66°)
OKLaboklab(51.98% 0.1388 -0.1772)
OKLCHoklch(51.98% 0.225 308.1)
XYZxyz(22.5019, 11.8341, 56.3458)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EC9 #6AC92E
analogous
#3F2EC9 #8D2EC9 #C92EB7
triadic
#8D2EC9 #C98D2E #2EC98D
tetradic
#8D2EC9 #C93F2E #6AC92E #2EB7C9
square
#8D2EC9 #C93F2E #6AC92E #2EB7C9
split-complementary
#8D2EC9 #B7C92E #2EC93F
monochromatic
#471765 #6A2397 #8D2EC9 #A85BD9 #C38DE5

Accessibility & contrast

On white

6.24
#8D2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EC9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EC9#FFFFFF#000000##FFFFFF
##8D2EC91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#83557B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d2ec9;
/* rgb */ color: rgb(141, 46, 201);
/* oklch */ color: oklch(52.0% 0.225 308.1);
Tailwind
colors: {
  custom: {
    50: '#b471da',
    500: '#8d2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ec9;
$custom-light: #b471da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ec9",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 276.774,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.22515,
    "h": 308.1
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#8D2EC9
secondary
#A1CF84
accent
#E64281
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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