#8B249F#8B249F

#8B249F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.197 H 320.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8B249F
RGBrgb(139, 36, 159)
HSLhsl(290, 63%, 38%)
HSVhsv(290, 77%, 62%)
CMYKcmyk(12.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(36.47, 58.48, -44.76)
CIE-LCHlch(36.47, 73.64, 322.57°)
OKLaboklab(47.82% 0.152 -0.1255)
OKLCHoklch(47.82% 0.197 320.4)
XYZxyz(17.5356, 9.2549, 33.6569)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B249F #389F24
analogous
#4D249F #8B249F #9F2475
triadic
#8B249F #9F8B24 #249F8B
tetradic
#8B249F #9F4D24 #389F24 #24759F
square
#8B249F #9F4D24 #389F24 #24759F
split-complementary
#8B249F #759F24 #249F4D
monochromatic
#340D3B #5F196D #8B249F #B630D0 #C862DB

Accessibility & contrast

On white

7.37
#8B249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B249F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B249F#FFFFFF#000000##FFFFFF
##8B249F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#8C3D61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b249f;
/* rgb */ color: rgb(139, 36, 159);
/* oklch */ color: oklch(47.8% 0.197 320.4);
Tailwind
colors: {
  custom: {
    50: '#b16bbc',
    500: '#8b249f',
    950: '#000000',
  },
}
SCSS
$custom: #8b249f;
$custom-light: #b16bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b249f",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 290.244,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.19713,
    "h": 320.4
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#8B249F
secondary
#6EC15E
accent
#E6425C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B249F

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

Preview Lab → · Contrast checker → · Palette generator →

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