#8F2EBA#8F2EBA

#8F2EBA is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.212 H 312.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F2EBA
RGBrgb(143, 46, 186)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(23.1%, 75.3%, 0%, 27.1%)
CIE-LABlab(40.15, 61.06, -54.90)
CIE-LCHlch(40.15, 82.11, 318.04°)
OKLaboklab(51.13% 0.1443 -0.1552)
OKLCHoklch(51.13% 0.212 312.9)
XYZxyz(21.1660, 11.3394, 47.5186)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EBA #59BA2E
analogous
#492EBA #8F2EBA #BA2E9F
triadic
#8F2EBA #BA8F2E #2EBA8F
tetradic
#8F2EBA #BA492E #59BA2E #2E9FBA
square
#8F2EBA #BA492E #59BA2E #2E9FBA
split-complementary
#8F2EBA #9FBA2E #2EBA49
monochromatic
#441658 #692289 #8F2EBA #AC51D4 #C382E0

Accessibility & contrast

On white

6.43
#8F2EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8F2EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EBA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EBA#FFFFFF#000000##FFFFFF
##8F2EBA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1D61B7
Tritanopia (blue-blind)
#8A4E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2eba;
/* rgb */ color: rgb(143, 46, 186);
/* oklch */ color: oklch(51.1% 0.212 312.9);
Tailwind
colors: {
  custom: {
    50: '#b471d0',
    500: '#8f2eba',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eba;
$custom-light: #b471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eba",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 281.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5113,
    "c": 0.21194,
    "h": 312.9
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#8F2EBA
secondary
#93C97B
accent
#E34475
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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