#8E3FDB#8E3FDB

#8E3FDB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.225 H 302.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8E3FDB
RGBrgb(142, 63, 219)
HSLhsl(270, 68%, 55%)
HSVhsv(270, 71%, 86%)
CMYKcmyk(35.2%, 71.2%, 0%, 14.1%)
CIE-LABlab(44.83, 61.19, -66.44)
CIE-LCHlch(44.83, 90.32, 312.65°)
OKLaboklab(55.17% 0.1214 -0.1892)
OKLCHoklch(55.17% 0.225 302.7)
XYZxyz(25.7160, 14.4202, 68.4327)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3FDB #8CDB3F
analogous
#403FDB #8E3FDB #DB3FDA
triadic
#8E3FDB #DB8E3F #3FDB8E
tetradic
#8E3FDB #DB403F #8CDB3F #3FDADB
square
#8E3FDB #DB403F #8CDB3F #3FDADB
split-complementary
#8E3FDB #DADB3F #3FDB40
monochromatic
#511986 #6F23BA #8E3FDB #AC73E5 #CBA6EE

Accessibility & contrast

On white

5.41
#8E3FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8E3FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3FDB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3FDB#FFFFFF#000000##FFFFFF
##8E3FDB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#7E6589
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e3fdb;
/* rgb */ color: rgb(142, 63, 219);
/* oklch */ color: oklch(55.2% 0.225 302.7);
Tailwind
colors: {
  custom: {
    50: '#b57be7',
    500: '#8e3fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8e3fdb;
$custom-light: #b57be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3fdb",
  "rgb": {
    "r": 142,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 270.385,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.22482,
    "h": 302.7
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#8E3FDB
secondary
#BADC9A
accent
#EB3D93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E3FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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