#8B248F#8B248F

#8B248F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.184 H 326.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8B248F
RGBrgb(139, 36, 143)
HSLhsl(298, 60%, 35%)
HSVhsv(298, 75%, 56%)
CMYKcmyk(2.8%, 74.8%, 0%, 43.9%)
CIE-LABlab(35.47, 55.58, -36.62)
CIE-LCHlch(35.47, 66.56, 326.62°)
OKLaboklab(46.79% 0.1531 -0.1017)
OKLCHoklch(46.79% 0.184 326.4)
XYZxyz(16.2360, 8.7350, 26.8121)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B248F #288F24
analogous
#55248F #8B248F #8F245D
triadic
#8B248F #8F8B24 #248F8B
tetradic
#8B248F #8F5524 #288F24 #245D8F
square
#8B248F #8F5524 #288F24 #245D8F
split-complementary
#8B248F #5D8F24 #248F55
monochromatic
#2C0B2D #5B185E #8B248F #BB30C0 #D058D5

Accessibility & contrast

On white

7.65
#8B248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B248F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B248F#FFFFFF#000000##FFFFFF
##8B248F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#3D588C
Tritanopia (blue-blind)
#8F3658
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b248f;
/* rgb */ color: rgb(139, 36, 143);
/* oklch */ color: oklch(46.8% 0.184 326.4);
Tailwind
colors: {
  custom: {
    50: '#b06ab0',
    500: '#8b248f',
    950: '#000000',
  },
}
SCSS
$custom: #8b248f;
$custom-light: #b06ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b248f",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 297.757,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46789,
    "c": 0.1838,
    "h": 326.4
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#8B248F
secondary
#59B955
accent
#E3454B
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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