#8E2FCD#8E2FCD

#8E2FCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.5% C 0.228 H 307.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8E2FCD
RGBrgb(142, 47, 205)
HSLhsl(276, 63%, 49%)
HSVhsv(276, 77%, 80%)
CMYKcmyk(30.7%, 77.1%, 0%, 19.6%)
CIE-LABlab(41.52, 64.50, -63.77)
CIE-LCHlch(41.52, 90.70, 315.33°)
OKLaboklab(52.5% 0.1385 -0.1813)
OKLCHoklch(52.5% 0.228 307.4)
XYZxyz(23.1889, 12.1919, 58.8774)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FCD #6ECD2F
analogous
#3F2FCD #8E2FCD #CD2FBD
triadic
#8E2FCD #CD8E2F #2FCD8E
tetradic
#8E2FCD #CD3F2F #6ECD2F #2FBDCD
square
#8E2FCD #CD3F2F #6ECD2F #2FBDCD
split-complementary
#8E2FCD #BDCD2F #2FCD3F
monochromatic
#491869 #6C249B #8E2FCD #A95FDA #C491E6

Accessibility & contrast

On white

6.11
#8E2FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8E2FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FCD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FCD#FFFFFF#000000##FFFFFF
##8E2FCD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#83577D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e2fcd;
/* rgb */ color: rgb(142, 47, 205);
/* oklch */ color: oklch(52.5% 0.228 307.4);
Tailwind
colors: {
  custom: {
    50: '#b572dd',
    500: '#8e2fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fcd;
$custom-light: #b572dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fcd",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 205
  },
  "hsl": {
    "h": 276.076,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.22813,
    "h": 307.4
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#8E2FCD
secondary
#A5D087
accent
#E64283
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E2FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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