#8E2FC3#8E2FC3

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

Color values

HEX#8E2FC3
RGBrgb(142, 47, 195)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 76%, 76%)
CMYKcmyk(27.2%, 75.9%, 0%, 23.5%)
CIE-LABlab(40.77, 62.37, -59.16)
CIE-LCHlch(40.77, 85.97, 316.51°)
OKLaboklab(51.75% 0.1406 -0.1678)
OKLCHoklch(51.75% 0.219 310)
XYZxyz(22.0202, 11.7244, 52.7222)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC3 #64C32F
analogous
#442FC3 #8E2FC3 #C32FAE
triadic
#8E2FC3 #C38E2F #2FC38E
tetradic
#8E2FC3 #C3442F #64C32F #2FAEC3
square
#8E2FC3 #C3442F #64C32F #2FAEC3
split-complementary
#8E2FC3 #AEC32F #2FC344
monochromatic
#461760 #6A2392 #8E2FC3 #AA58D7 #C38AE3

Accessibility & contrast

On white

6.28
#8E2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2FC3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC3#FFFFFF#000000##FFFFFF
##8E2FC31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#865378
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e2fc3;
/* rgb */ color: rgb(142, 47, 195);
/* oklch */ color: oklch(51.7% 0.219 310.0);
Tailwind
colors: {
  custom: {
    50: '#b472d6',
    500: '#8e2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc3;
$custom-light: #b472d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc3",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 278.514,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.21886,
    "h": 310
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#8E2FC3
secondary
#9CCD81
accent
#E4447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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