#8E3DCD#8E3DCD

#8E3DCD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.213 H 306.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8E3DCD
RGBrgb(142, 61, 205)
HSLhsl(274, 59%, 52%)
HSVhsv(274, 70%, 80%)
CMYKcmyk(30.7%, 70.2%, 0%, 19.6%)
CIE-LABlab(43.50, 58.86, -60.55)
CIE-LCHlch(43.50, 84.44, 314.19°)
OKLaboklab(53.9% 0.1256 -0.1719)
OKLCHoklch(53.9% 0.213 306.1)
XYZxyz(23.8411, 13.4963, 59.0948)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DCD #7CCD3D
analogous
#463DCD #8E3DCD #CD3DC4
triadic
#8E3DCD #CD8E3D #3DCD8E
tetradic
#8E3DCD #CD463D #7CCD3D #3DC4CD
square
#8E3DCD #CD463D #7CCD3D #3DC4CD
split-complementary
#8E3DCD #C4CD3D #3DCD46
monochromatic
#4D1D72 #6E2AA3 #8E3DCD #AA6EDA #C79EE6

Accessibility & contrast

On white

5.68
#8E3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8E3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3DCD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3DCD#FFFFFF#000000##FFFFFF
##8E3DCD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0167CA
Tritanopia (blue-blind)
#835E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3dcd;
/* rgb */ color: rgb(142, 61, 205);
/* oklch */ color: oklch(53.9% 0.213 306.1);
Tailwind
colors: {
  custom: {
    50: '#b479dd',
    500: '#8e3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dcd;
$custom-light: #b479dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dcd",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 273.75,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.21292,
    "h": 306.1
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#8E3DCD
secondary
#AFD293
accent
#E2468A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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