#8F2E9F#8F2E9F

#8F2E9F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.188 H 321.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8F2E9F
RGBrgb(143, 46, 159)
HSLhsl(292, 55%, 40%)
HSVhsv(292, 71%, 62%)
CMYKcmyk(10.1%, 71.1%, 0%, 37.6%)
CIE-LABlab(38.37, 55.73, -41.68)
CIE-LCHlch(38.37, 69.59, 323.21°)
OKLaboklab(49.3% 0.1472 -0.1165)
OKLCHoklch(49.3% 0.188 321.6)
XYZxyz(18.5620, 10.2978, 33.8041)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E9F #3E9F2E
analogous
#562E9F #8F2E9F #9F2E77
triadic
#8F2E9F #9F8F2E #2E9F8F
tetradic
#8F2E9F #9F562E #3E9F2E #2E779F
square
#8F2E9F #9F562E #3E9F2E #2E779F
split-complementary
#8F2E9F #779F2E #2E9F56
monochromatic
#3A1340 #642070 #8F2E9F #B542C8 #C871D6

Accessibility & contrast

On white

6.86
#8F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F2E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2E9F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E9F#FFFFFF#000000##FFFFFF
##8F2E9F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#3C5E9C
Tritanopia (blue-blind)
#904263
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2e9f;
/* rgb */ color: rgb(143, 46, 159);
/* oklch */ color: oklch(49.3% 0.188 321.6);
Tailwind
colors: {
  custom: {
    50: '#b370bc',
    500: '#8f2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e9f;
$custom-light: #b370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e9f",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 291.504,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.18767,
    "h": 321.6
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#8F2E9F
secondary
#77BE6B
accent
#DE495E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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