#8F249D#8F249D

#8F249D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 322.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F249D
RGBrgb(143, 36, 157)
HSLhsl(293, 63%, 38%)
HSVhsv(293, 77%, 62%)
CMYKcmyk(8.9%, 77.1%, 0%, 38.4%)
CIE-LABlab(37.00, 58.93, -42.67)
CIE-LCHlch(37.00, 72.75, 324.09°)
OKLaboklab(48.28% 0.1569 -0.1193)
OKLCHoklch(48.28% 0.197 322.8)
XYZxyz(18.0438, 9.5368, 32.7821)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F249D #329D24
analogous
#53249D #8F249D #9D246E
triadic
#8F249D #9D8F24 #249D8F
tetradic
#8F249D #9D5324 #329D24 #246E9D
square
#8F249D #9D5324 #329D24 #246E9D
split-complementary
#8F249D #6E9D24 #249D53
monochromatic
#340D39 #62196B #8F249D #BC2FCF #CD61DB

Accessibility & contrast

On white

7.22
#8F249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F249D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F249D#FFFFFF#000000##FFFFFF
##8F249D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#913C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f249d;
/* rgb */ color: rgb(143, 36, 157);
/* oklch */ color: oklch(48.3% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#b46bba',
    500: '#8f249d',
    950: '#000000',
  },
}
SCSS
$custom: #8f249d;
$custom-light: #b46bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f249d",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 293.058,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48284,
    "c": 0.19711,
    "h": 322.8
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#8F249D
secondary
#68C05D
accent
#E64255
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8F249D

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

Preview Lab → · Contrast checker → · Palette generator →

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