#8B298B#8B298B

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

Color values

HEX#8B298B
RGBrgb(139, 41, 139)
HSLhsl(300, 54%, 35%)
HSVhsv(300, 71%, 55%)
CMYKcmyk(0%, 70.5%, 0%, 45.5%)
CIE-LABlab(35.87, 53.08, -33.53)
CIE-LCHlch(35.87, 62.78, 327.72°)
OKLaboklab(47% 0.148 -0.0928)
OKLCHoklch(47% 0.175 327.9)
XYZxyz(16.1004, 8.9401, 25.2987)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B298B #298B29
analogous
#5A298B #8B298B #8B295A
triadic
#8B298B #8B8B29 #298B8B
tetradic
#8B298B #8B5A29 #298B29 #295A8B
square
#8B298B #8B5A29 #298B29 #295A8B
split-complementary
#8B298B #5A8B29 #298B5A
monochromatic
#2C0D2C #5C1B5C #8B298B #BA37BA #D05FD0

Accessibility & contrast

On white

7.53
#8B298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8B298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B298B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B298B#FFFFFF#000000##FFFFFF
##8B298B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#8F3757
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b298b;
/* rgb */ color: rgb(139, 41, 139);
/* oklch */ color: oklch(47.0% 0.175 327.9);
Tailwind
colors: {
  custom: {
    50: '#b06cad',
    500: '#8b298b',
    950: '#000000',
  },
}
SCSS
$custom: #8b298b;
$custom-light: #b06cad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b298b",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.17471,
    "h": 327.9
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#8B298B
secondary
#5BB55B
accent
#DE4A4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B298B

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

Preview Lab → · Contrast checker → · Palette generator →

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