#8F3EDA#8F3EDA

#8F3EDA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.1% C 0.225 H 303.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8F3EDA
RGBrgb(143, 62, 218)
HSLhsl(271, 68%, 55%)
HSVhsv(271, 72%, 85%)
CMYKcmyk(34.4%, 71.6%, 0%, 14.5%)
CIE-LABlab(44.73, 61.58, -66.03)
CIE-LCHlch(44.73, 90.29, 313.00°)
OKLaboklab(55.1% 0.1238 -0.188)
OKLCHoklch(55.1% 0.225 303.4)
XYZxyz(25.7023, 14.3469, 67.7312)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EDA #89DA3E
analogous
#413EDA #8F3EDA #DA3ED7
triadic
#8F3EDA #DA8F3E #3EDA8F
tetradic
#8F3EDA #DA413E #89DA3E #3ED7DA
square
#8F3EDA #DA413E #89DA3E #3ED7DA
split-complementary
#8F3EDA #D7DA3E #3EDA41
monochromatic
#511984 #7023B8 #8F3EDA #AD71E4 #CBA5EE

Accessibility & contrast

On white

5.43
#8F3EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8F3EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EDA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EDA#FFFFFF#000000##FFFFFF
##8F3EDA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#806488
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f3eda;
/* rgb */ color: rgb(143, 62, 218);
/* oklch */ color: oklch(55.1% 0.225 303.4);
Tailwind
colors: {
  custom: {
    50: '#b67ae6',
    500: '#8f3eda',
    950: '#000000',
  },
}
SCSS
$custom: #8f3eda;
$custom-light: #b67ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3eda",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 218
  },
  "hsl": {
    "h": 271.154,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.22513,
    "h": 303.4
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#8F3EDA
secondary
#B9DB99
accent
#EB3D91
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F3EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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