#8E2FC4#8E2FC4

#8E2FC4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.220 H 309.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8E2FC4
RGBrgb(142, 47, 196)
HSLhsl(278, 61%, 48%)
HSVhsv(278, 76%, 77%)
CMYKcmyk(27.6%, 76%, 0%, 23.1%)
CIE-LABlab(40.85, 62.58, -59.63)
CIE-LCHlch(40.85, 86.44, 316.38°)
OKLaboklab(51.82% 0.1404 -0.1691)
OKLCHoklch(51.82% 0.22 309.7)
XYZxyz(22.1337, 11.7698, 53.3197)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC4 #65C42F
analogous
#432FC4 #8E2FC4 #C42FAF
triadic
#8E2FC4 #C48E2F #2FC48E
tetradic
#8E2FC4 #C4432F #65C42F #2FAFC4
square
#8E2FC4 #C4432F #65C42F #2FAFC4
split-complementary
#8E2FC4 #AFC42F #2FC443
monochromatic
#461761 #6A2393 #8E2FC4 #A959D7 #C38AE3

Accessibility & contrast

On white

6.26
#8E2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8E2FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FC4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC4#FFFFFF#000000##FFFFFF
##8E2FC41.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#865378
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e2fc4;
/* rgb */ color: rgb(142, 47, 196);
/* oklch */ color: oklch(51.8% 0.220 309.7);
Tailwind
colors: {
  custom: {
    50: '#b472d7',
    500: '#8e2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc4;
$custom-light: #b472d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc4",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 278.255,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.21979,
    "h": 309.7
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#8E2FC4
secondary
#9DCD82
accent
#E4437E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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