#8E2FC0#8E2FC0

#8E2FC0 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.216 H 310.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8E2FC0
RGBrgb(142, 47, 192)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 76%, 75%)
CMYKcmyk(26%, 75.5%, 0%, 24.7%)
CIE-LABlab(40.56, 61.74, -57.76)
CIE-LCHlch(40.56, 84.55, 316.91°)
OKLaboklab(51.53% 0.1411 -0.1636)
OKLCHoklch(51.53% 0.216 310.8)
XYZxyz(21.6844, 11.5901, 50.9538)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC0 #61C02F
analogous
#452FC0 #8E2FC0 #C02FAA
triadic
#8E2FC0 #C08E2F #2FC08E
tetradic
#8E2FC0 #C0452F #61C02F #2FAAC0
square
#8E2FC0 #C0452F #61C02F #2FAAC0
split-complementary
#8E2FC0 #AAC02F #2FC045
monochromatic
#45175E #6A238F #8E2FC0 #AA56D6 #C388E2

Accessibility & contrast

On white

6.33
#8E2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8E2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FC0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC0#FFFFFF#000000##FFFFFF
##8E2FC01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0C61BD
Tritanopia (blue-blind)
#875176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e2fc0;
/* rgb */ color: rgb(142, 47, 192);
/* oklch */ color: oklch(51.5% 0.216 310.8);
Tailwind
colors: {
  custom: {
    50: '#b472d4',
    500: '#8e2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc0;
$custom-light: #b472d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc0",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 279.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.21609,
    "h": 310.8
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#8E2FC0
secondary
#9ACB7F
accent
#E4447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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