#8E2FC8#8E2FC8

#8E2FC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.223 H 308.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8E2FC8
RGBrgb(142, 47, 200)
HSLhsl(277, 62%, 48%)
HSVhsv(277, 77%, 78%)
CMYKcmyk(29%, 76.5%, 0%, 21.6%)
CIE-LABlab(41.14, 63.43, -61.48)
CIE-LCHlch(41.14, 88.33, 315.90°)
OKLaboklab(52.12% 0.1396 -0.1746)
OKLCHoklch(52.12% 0.223 308.6)
XYZxyz(22.5950, 11.9543, 55.7495)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC8 #69C82F
analogous
#422FC8 #8E2FC8 #C82FB5
triadic
#8E2FC8 #C88E2F #2FC88E
tetradic
#8E2FC8 #C8422F #69C82F #2FB5C8
square
#8E2FC8 #C8422F #69C82F #2FB5C8
split-complementary
#8E2FC8 #B5C82F #2FC842
monochromatic
#481865 #6B2396 #8E2FC8 #A95CD9 #C38DE4

Accessibility & contrast

On white

6.19
#8E2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8E2FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FC8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC8#FFFFFF#000000##FFFFFF
##8E2FC81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#85557B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e2fc8;
/* rgb */ color: rgb(142, 47, 200);
/* oklch */ color: oklch(52.1% 0.223 308.6);
Tailwind
colors: {
  custom: {
    50: '#b472da',
    500: '#8e2fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc8;
$custom-light: #b472da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc8",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 200
  },
  "hsl": {
    "h": 277.255,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52122,
    "c": 0.22349,
    "h": 308.6
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#8E2FC8
secondary
#A0CF84
accent
#E54380
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E2FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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