#8E46CC#8E46CC

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

Color values

HEX#8E46CC
RGBrgb(142, 70, 204)
HSLhsl(272, 57%, 54%)
HSVhsv(272, 66%, 80%)
CMYKcmyk(30.4%, 65.7%, 0%, 20%)
CIE-LABlab(44.93, 54.46, -57.67)
CIE-LCHlch(44.93, 79.32, 313.36°)
OKLaboklab(54.9% 0.1162 -0.1635)
OKLCHoklch(54.9% 0.201 305.4)
XYZxyz(24.2422, 14.4909, 58.6349)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46CC #84CC46
analogous
#4B46CC #8E46CC #CC46C7
triadic
#8E46CC #CC8E46 #46CC8E
tetradic
#8E46CC #CC4B46 #84CC46 #46C7CC
square
#8E46CC #CC4B46 #84CC46 #46C7CC
split-complementary
#8E46CC #C7CC46 #46CC4B
monochromatic
#4F2177 #6F2EA7 #8E46CC #AB76D9 #C9A6E6

Accessibility & contrast

On white

5.39
#8E46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8E46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46CC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46CC#FFFFFF#000000##FFFFFF
##8E46CC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#206BC9
Tritanopia (blue-blind)
#836383
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e46cc;
/* rgb */ color: rgb(142, 70, 204);
/* oklch */ color: oklch(54.9% 0.201 305.4);
Tailwind
colors: {
  custom: {
    50: '#b47edc',
    500: '#8e46cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e46cc;
$custom-light: #b47edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46cc",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 272.239,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.20056,
    "h": 305.4
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

primary
#8E46CC
secondary
#B5D49A
accent
#E0488E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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