#8F2E93#8F2E93

#8F2E93 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.177 H 326.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8F2E93
RGBrgb(143, 46, 147)
HSLhsl(298, 52%, 38%)
HSVhsv(298, 69%, 58%)
CMYKcmyk(2.7%, 68.7%, 0%, 42.4%)
CIE-LABlab(37.66, 53.52, -35.54)
CIE-LCHlch(37.66, 64.24, 326.42°)
OKLaboklab(48.57% 0.1473 -0.0985)
OKLCHoklch(48.57% 0.177 326.2)
XYZxyz(17.5708, 9.9014, 28.5838)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E93 #32932E
analogous
#5D2E93 #8F2E93 #932E64
triadic
#8F2E93 #938F2E #2E938F
tetradic
#8F2E93 #935D2E #32932E #2E6493
square
#8F2E93 #935D2E #32932E #2E6493
split-complementary
#8F2E93 #64932E #2E935D
monochromatic
#341136 #621F64 #8F2E93 #BC3DC2 #CD6BD1

Accessibility & contrast

On white

7.05
#8F2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E93
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E93#FFFFFF#000000##FFFFFF
##8F2E931.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5196
Deuteranopia (green-blind)
#445D90
Tritanopia (blue-blind)
#933D5D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2e93;
/* rgb */ color: rgb(143, 46, 147);
/* oklch */ color: oklch(48.6% 0.177 326.2);
Tailwind
colors: {
  custom: {
    50: '#b36fb3',
    500: '#8f2e93',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e93;
$custom-light: #b36fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e93",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 297.624,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.17724,
    "h": 326.2
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#8F2E93
secondary
#68B865
accent
#DC4C52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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