#8D248E#8D248E

#8D248E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.184 H 327.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8D248E
RGBrgb(141, 36, 142)
HSLhsl(299, 60%, 35%)
HSVhsv(299, 75%, 56%)
CMYKcmyk(0.7%, 74.6%, 0%, 44.3%)
CIE-LABlab(35.75, 55.85, -35.54)
CIE-LCHlch(35.75, 66.20, 327.53°)
OKLaboklab(47.04% 0.1553 -0.0985)
OKLCHoklch(47.04% 0.184 327.6)
XYZxyz(16.4976, 8.8786, 26.4308)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D248E #258E24
analogous
#58248E #8D248E #8E245A
triadic
#8D248E #8E8D24 #248E8D
tetradic
#8D248E #8E5824 #258E24 #245A8E
square
#8D248E #8E5824 #258E24 #245A8E
split-complementary
#8D248E #5A8E24 #248E58
monochromatic
#2C0B2C #5D185D #8D248E #BD30BF #D358D5

Accessibility & contrast

On white

7.57
#8D248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D248E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D248E#FFFFFF#000000##FFFFFF
##8D248E1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#40598B
Tritanopia (blue-blind)
#913557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d248e;
/* rgb */ color: rgb(141, 36, 142);
/* oklch */ color: oklch(47.0% 0.184 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26aaf',
    500: '#8d248e',
    950: '#000000',
  },
}
SCSS
$custom: #8d248e;
$custom-light: #b26aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d248e",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 299.434,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47037,
    "c": 0.18397,
    "h": 327.6
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#8D248E
secondary
#56B955
accent
#E34547
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D248E

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

Preview Lab → · Contrast checker → · Palette generator →

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