#8E3FD3#8E3FD3

#8E3FD3 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.6% C 0.217 H 304.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8E3FD3
RGBrgb(142, 63, 211)
HSLhsl(272, 63%, 54%)
HSVhsv(272, 70%, 83%)
CMYKcmyk(32.7%, 70.1%, 0%, 17.3%)
CIE-LABlab(44.25, 59.34, -62.80)
CIE-LCHlch(44.25, 86.40, 313.38°)
OKLaboklab(54.57% 0.1227 -0.1786)
OKLCHoklch(54.57% 0.217 304.5)
XYZxyz(24.6880, 14.0091, 63.0188)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3FD3 #84D33F
analogous
#443FD3 #8E3FD3 #D33FCE
triadic
#8E3FD3 #D38E3F #3FD38E
tetradic
#8E3FD3 #D3443F #84D33F #3FCED3
square
#8E3FD3 #D3443F #84D33F #3FCED3
split-complementary
#8E3FD3 #CED33F #3FD344
monochromatic
#4F1C7B #6F28AD #8E3FD3 #AB71DE #C9A3EA

Accessibility & contrast

On white

5.52
#8E3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8E3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3FD3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3FD3#FFFFFF#000000##FFFFFF
##8E3FD31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#816285
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e3fd3;
/* rgb */ color: rgb(142, 63, 211);
/* oklch */ color: oklch(54.6% 0.217 304.5);
Tailwind
colors: {
  custom: {
    50: '#b47ae1',
    500: '#8e3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e3fd3;
$custom-light: #b47ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3fd3",
  "rgb": {
    "r": 142,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 272.027,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.21665,
    "h": 304.5
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#8E3FD3
secondary
#B5D797
accent
#E6428E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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