#8E2FC5#8E2FC5

#8E2FC5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.221 H 309.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8E2FC5
RGBrgb(142, 47, 197)
HSLhsl(278, 61%, 48%)
HSVhsv(278, 76%, 77%)
CMYKcmyk(27.9%, 76.1%, 0%, 22.7%)
CIE-LABlab(40.92, 62.79, -60.09)
CIE-LCHlch(40.92, 86.91, 316.26°)
OKLaboklab(51.9% 0.1402 -0.1705)
OKLCHoklch(51.9% 0.221 309.4)
XYZxyz(22.2479, 11.8155, 53.9211)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2FC5 #66C52F
analogous
#432FC5 #8E2FC5 #C52FB1
triadic
#8E2FC5 #C58E2F #2FC58E
tetradic
#8E2FC5 #C5432F #66C52F #2FB1C5
square
#8E2FC5 #C5432F #66C52F #2FB1C5
split-complementary
#8E2FC5 #B1C52F #2FC543
monochromatic
#471762 #6A2394 #8E2FC5 #A95AD8 #C38BE3

Accessibility & contrast

On white

6.24
#8E2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8E2FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2FC5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2FC5#FFFFFF#000000##FFFFFF
##8E2FC51.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#865479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e2fc5;
/* rgb */ color: rgb(142, 47, 197);
/* oklch */ color: oklch(51.9% 0.221 309.4);
Tailwind
colors: {
  custom: {
    50: '#b472d7',
    500: '#8e2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8e2fc5;
$custom-light: #b472d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2fc5",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 278,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.22071,
    "h": 309.4
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#8E2FC5
secondary
#9ECD82
accent
#E5437E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120815
muted
#817B83

Preview Lab

Preview with #8E2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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