#8E2FC2#8E2FC2

#8E2FC2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.218 H 310.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8E2FC2
RGBrgb(142, 47, 194)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 76%, 76%)
CMYKcmyk(26.8%, 75.8%, 0%, 23.9%)
CIE-LABlab(40.70, 62.16, -58.70)
CIE-LCHlch(40.70, 85.49, 316.64°)
OKLaboklab(51.67% 0.1407 -0.1664)
OKLCHoklch(51.67% 0.218 310.2)
XYZxyz(21.9075, 11.6793, 52.1288)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC2 #63C22F
analogous
#452FC2 #8E2FC2 #C22FAC
triadic
#8E2FC2 #C28E2F #2FC28E
tetradic
#8E2FC2 #C2452F #63C22F #2FACC2
square
#8E2FC2 #C2452F #63C22F #2FACC2
split-complementary
#8E2FC2 #ACC22F #2FC245
monochromatic
#46175F #6A2391 #8E2FC2 #AA58D6 #C389E2

Accessibility & contrast

On white

6.30
#8E2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8E2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FC2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC2#FFFFFF#000000##FFFFFF
##8E2FC21.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0361BF
Tritanopia (blue-blind)
#875277
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e2fc2;
/* rgb */ color: rgb(142, 47, 194);
/* oklch */ color: oklch(51.7% 0.218 310.2);
Tailwind
colors: {
  custom: {
    50: '#b472d5',
    500: '#8e2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc2;
$custom-light: #b472d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc2",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 278.776,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.21794,
    "h": 310.2
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#8E2FC2
secondary
#9BCC81
accent
#E4447C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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