#8E3DBF#8E3DBF

#8E3DBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.199 H 309.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8E3DBF
RGBrgb(142, 61, 191)
HSLhsl(277, 52%, 49%)
HSVhsv(277, 68%, 75%)
CMYKcmyk(25.7%, 68.1%, 0%, 25.1%)
CIE-LABlab(42.54, 55.73, -53.98)
CIE-LCHlch(42.54, 77.59, 315.91°)
OKLaboklab(52.91% 0.1273 -0.1526)
OKLCHoklch(52.91% 0.199 309.8)
XYZxyz(22.2262, 12.8503, 50.5896)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DBF #6EBF3D
analogous
#4D3DBF #8E3DBF #BF3DAF
triadic
#8E3DBF #BF8E3D #3DBF8E
tetradic
#8E3DBF #BF4D3D #6EBF3D #3DAFBF
square
#8E3DBF #BF4D3D #6EBF3D #3DAFBF
split-complementary
#8E3DBF #AFBF3D #3DBF4D
monochromatic
#491F62 #6C2E91 #8E3DBF #A96ACF #C498DE

Accessibility & contrast

On white

5.88
#8E3DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8E3DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3DBF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3DBF#FFFFFF#000000##FFFFFF
##8E3DBF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#875979
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e3dbf;
/* rgb */ color: rgb(142, 61, 191);
/* oklch */ color: oklch(52.9% 0.199 309.8);
Tailwind
colors: {
  custom: {
    50: '#b379d3',
    500: '#8e3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dbf;
$custom-light: #b379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dbf",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 277.385,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.19877,
    "h": 309.8
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#8E3DBF
secondary
#A5CA8E
accent
#DB4D82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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