#8F2EBD#8F2EBD

#8F2EBD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.215 H 312.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2EBD
RGBrgb(143, 46, 189)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 76%, 74%)
CMYKcmyk(24.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(40.36, 61.67, -56.32)
CIE-LCHlch(40.36, 83.52, 317.60°)
OKLaboklab(51.35% 0.1438 -0.1594)
OKLCHoklch(51.35% 0.215 312.1)
XYZxyz(21.4883, 11.4684, 49.2159)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EBD #5CBD2E
analogous
#472EBD #8F2EBD #BD2EA3
triadic
#8F2EBD #BD8F2E #2EBD8F
tetradic
#8F2EBD #BD472E #5CBD2E #2EA3BD
square
#8F2EBD #BD472E #5CBD2E #2EA3BD
split-complementary
#8F2EBD #A3BD2E #2EBD47
monochromatic
#45165B #6A228C #8F2EBD #AB53D5 #C384E1

Accessibility & contrast

On white

6.38
#8F2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EBD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EBD#FFFFFF#000000##FFFFFF
##8F2EBD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#894F74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2ebd;
/* rgb */ color: rgb(143, 46, 189);
/* oklch */ color: oklch(51.3% 0.215 312.1);
Tailwind
colors: {
  custom: {
    50: '#b471d2',
    500: '#8f2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ebd;
$custom-light: #b471d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ebd",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 280.699,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.21468,
    "h": 312.1
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#8F2EBD
secondary
#95CA7C
accent
#E44477
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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