#8E2DBF#8E2DBF

#8E2DBF is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.217 H 311.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8E2DBF
RGBrgb(142, 45, 191)
HSLhsl(280, 62%, 46%)
HSVhsv(280, 76%, 75%)
CMYKcmyk(25.7%, 76.4%, 0%, 25.1%)
CIE-LABlab(40.23, 62.26, -57.71)
CIE-LCHlch(40.23, 84.90, 317.17°)
OKLaboklab(51.27% 0.1431 -0.1635)
OKLCHoklch(51.27% 0.217 311.2)
XYZxyz(21.4959, 11.3897, 50.3462)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DBF #5EBF2D
analogous
#452DBF #8E2DBF #BF2DA7
triadic
#8E2DBF #BF8E2D #2DBF8E
tetradic
#8E2DBF #BF452D #5EBF2D #2DA7BF
square
#8E2DBF #BF452D #5EBF2D #2DA7BF
split-complementary
#8E2DBF #A7BF2D #2DBF45
monochromatic
#44165C #69218D #8E2DBF #AA53D6 #C384E2

Accessibility & contrast

On white

6.41
#8E2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8E2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DBF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DBF#FFFFFF#000000##FFFFFF
##8E2DBF1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0A60BC
Tritanopia (blue-blind)
#885075
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2dbf;
/* rgb */ color: rgb(142, 45, 191);
/* oklch */ color: oklch(51.3% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#b471d3',
    500: '#8e2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dbf;
$custom-light: #b471d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dbf",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 279.863,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.21723,
    "h": 311.2
  },
  "luminance": 0.11389
}

Semantic roles & 50–950 ramp

primary
#8E2DBF
secondary
#97CB7C
accent
#E54379
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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