#8F2EA5#8F2EA5

#8F2EA5 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.193 H 319.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8F2EA5
RGBrgb(143, 46, 165)
HSLhsl(289, 56%, 41%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(13.3%, 72.1%, 0%, 35.3%)
CIE-LABlab(38.74, 56.87, -44.69)
CIE-LCHlch(38.74, 72.33, 321.84°)
OKLaboklab(49.69% 0.1468 -0.1253)
OKLCHoklch(49.69% 0.193 319.5)
XYZxyz(19.0954, 10.5112, 36.6130)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EA5 #44A52E
analogous
#542EA5 #8F2EA5 #A52E80
triadic
#8F2EA5 #A58F2E #2EA58F
tetradic
#8F2EA5 #A5542E #44A52E #2E80A5
square
#8F2EA5 #A5542E #44A52E #2E80A5
split-complementary
#8F2EA5 #80A52E #2EA554
monochromatic
#3C1345 #662175 #8F2EA5 #B245CB #C675D8

Accessibility & contrast

On white

6.77
#8F2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EA5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EA5#FFFFFF#000000##FFFFFF
##8F2EA51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#8F4567
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2ea5;
/* rgb */ color: rgb(143, 46, 165);
/* oklch */ color: oklch(49.7% 0.193 319.5);
Tailwind
colors: {
  custom: {
    50: '#b370c0',
    500: '#8f2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ea5;
$custom-light: #b370c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ea5",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 288.908,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.19299,
    "h": 319.5
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#8F2EA5
secondary
#7EC06F
accent
#E04864
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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