#8F2EAF#8F2EAF

#8F2EAF is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.202 H 316.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8F2EAF
RGBrgb(143, 46, 175)
HSLhsl(285, 58%, 43%)
HSVhsv(285, 74%, 69%)
CMYKcmyk(18.3%, 73.7%, 0%, 31.4%)
CIE-LABlab(39.39, 58.83, -49.61)
CIE-LCHlch(39.39, 76.96, 319.86°)
OKLaboklab(50.36% 0.1459 -0.1397)
OKLCHoklch(50.36% 0.202 316.2)
XYZxyz(20.0414, 10.8896, 41.5953)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EAF #4EAF2E
analogous
#4E2EAF #8F2EAF #AF2E8E
triadic
#8F2EAF #AF8F2E #2EAF8F
tetradic
#8F2EAF #AF4E2E #4EAF2E #2E8EAF
square
#8F2EAF #AF4E2E #4EAF2E #2E8EAF
split-complementary
#8F2EAF #8EAF2E #2EAF4E
monochromatic
#40154E #67217F #8F2EAF #AF4BD0 #C47BDC

Accessibility & contrast

On white

6.61
#8F2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8F2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EAF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EAF#FFFFFF#000000##FFFFFF
##8F2EAF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#8D496C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2eaf;
/* rgb */ color: rgb(143, 46, 175);
/* oklch */ color: oklch(50.4% 0.202 316.2);
Tailwind
colors: {
  custom: {
    50: '#b470c8',
    500: '#8f2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8f2eaf;
$custom-light: #b470c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2eaf",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 285.116,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.20196,
    "h": 316.2
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#8F2EAF
secondary
#88C574
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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