#8F248E#8F248E

#8F248E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.185 H 328.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F248E
RGBrgb(143, 36, 142)
HSLhsl(301, 60%, 35%)
HSVhsv(301, 75%, 56%)
CMYKcmyk(0%, 74.8%, 0.7%, 43.9%)
CIE-LABlab(36.09, 56.30, -34.97)
CIE-LCHlch(36.09, 66.28, 328.15°)
OKLaboklab(47.35% 0.1576 -0.0968)
OKLCHoklch(47.35% 0.185 328.4)
XYZxyz(16.8409, 9.0556, 26.4469)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F248E #248F25
analogous
#5B248F #8F248E #8F2458
triadic
#8F248E #8E8F24 #248E8F
tetradic
#8F248E #8F5B24 #248F25 #24588F
square
#8F248E #8F5B24 #248F25 #24588F
split-complementary
#8F248E #588F24 #248F5B
monochromatic
#2D0B2D #5E185D #8F248E #C030BF #D558D4

Accessibility & contrast

On white

7.47
#8F248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F248E
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F248E#FFFFFF#000000##FFFFFF
##8F248E1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#943457
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f248e;
/* rgb */ color: rgb(143, 36, 142);
/* oklch */ color: oklch(47.3% 0.185 328.4);
Tailwind
colors: {
  custom: {
    50: '#b36baf',
    500: '#8f248e',
    950: '#000000',
  },
}
SCSS
$custom: #8f248e;
$custom-light: #b36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f248e",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 300.561,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47347,
    "c": 0.18495,
    "h": 328.4
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#8F248E
secondary
#55B956
accent
#E34645
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F248E

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

Preview Lab → · Contrast checker → · Palette generator →

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