#8E2FC9#8E2FC9

#8E2FC9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.224 H 308.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8E2FC9
RGBrgb(142, 47, 201)
HSLhsl(277, 62%, 49%)
HSVhsv(277, 77%, 79%)
CMYKcmyk(29.4%, 76.6%, 0%, 21.2%)
CIE-LABlab(41.22, 63.64, -61.94)
CIE-LCHlch(41.22, 88.81, 315.78°)
OKLaboklab(52.2% 0.1393 -0.1759)
OKLCHoklch(52.2% 0.224 308.4)
XYZxyz(22.7123, 12.0012, 56.3670)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC9 #6AC92F
analogous
#412FC9 #8E2FC9 #C92FB7
triadic
#8E2FC9 #C98E2F #2FC98E
tetradic
#8E2FC9 #C9412F #6AC92F #2FB7C9
square
#8E2FC9 #C9412F #6AC92F #2FB7C9
split-complementary
#8E2FC9 #B7C92F #2FC941
monochromatic
#481866 #6B2397 #8E2FC9 #A95CD9 #C38EE5

Accessibility & contrast

On white

6.18
#8E2FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8E2FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FC9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC9#FFFFFF#000000##FFFFFF
##8E2FC91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2fc9;
/* rgb */ color: rgb(142, 47, 201);
/* oklch */ color: oklch(52.2% 0.224 308.4);
Tailwind
colors: {
  custom: {
    50: '#b472da',
    500: '#8e2fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc9;
$custom-light: #b472da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc9",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 277.013,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.22443,
    "h": 308.4
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#8E2FC9
secondary
#A1CF85
accent
#E54381
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E2FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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