#8E4FBD#8E4FBD

#8E4FBD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.171 H 308.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E4FBD
RGBrgb(142, 79, 189)
HSLhsl(274, 45%, 53%)
HSVhsv(274, 58%, 74%)
CMYKcmyk(24.9%, 58.2%, 0%, 25.9%)
CIE-LABlab(45.66, 46.42, -47.80)
CIE-LCHlch(45.66, 66.63, 314.16°)
OKLaboklab(55.13% 0.1059 -0.1346)
OKLCHoklch(55.13% 0.171 308.2)
XYZxyz(23.1348, 15.0172, 49.8141)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FBD #7EBD4F
analogous
#574FBD #8E4FBD #BD4FB5
triadic
#8E4FBD #BD8E4F #4FBD8E
tetradic
#8E4FBD #BD574F #7EBD4F #4FB5BD
square
#8E4FBD #BD574F #7EBD4F #4FB5BD
split-complementary
#8E4FBD #B5BD4F #4FBD57
monochromatic
#4E286A #6E3896 #8E4FBD #AB7CCE #C7A8DE

Accessibility & contrast

On white

5.25
#8E4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8E4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FBD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FBD#FFFFFF#000000##FFFFFF
##8E4FBD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#87647E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4fbd;
/* rgb */ color: rgb(142, 79, 189);
/* oklch */ color: oklch(55.1% 0.171 308.2);
Tailwind
colors: {
  custom: {
    50: '#b283d1',
    500: '#8e4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fbd;
$custom-light: #b283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fbd",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 274.364,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.17129,
    "h": 308.2
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#8E4FBD
secondary
#B0CC9C
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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