#8B297E#8B297E

#8B297E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 333.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8B297E
RGBrgb(139, 41, 126)
HSLhsl(308, 54%, 35%)
HSVhsv(308, 71%, 55%)
CMYKcmyk(0%, 70.5%, 9.4%, 45.5%)
CIE-LABlab(35.17, 50.88, -26.58)
CIE-LCHlch(35.17, 57.41, 332.42°)
OKLaboklab(46.27% 0.1473 -0.0727)
OKLCHoklch(46.27% 0.164 333.7)
XYZxyz(15.2064, 8.5825, 20.5903)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B297E #298B36
analogous
#67298B #8B297E #8B294D
triadic
#8B297E #7E8B29 #297E8B
tetradic
#8B297E #8B6729 #298B36 #294D8B
square
#8B297E #8B6729 #298B36 #294D8B
split-complementary
#8B297E #4D8B29 #298B67
monochromatic
#2C0D28 #5C1B53 #8B297E #BA37A9 #D05FC1

Accessibility & contrast

On white

7.73
#8B297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8B297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B297E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B297E#FFFFFF#000000##FFFFFF
##8B297E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#913150
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b297e;
/* rgb */ color: rgb(139, 41, 126);
/* oklch */ color: oklch(46.3% 0.164 333.7);
Tailwind
colors: {
  custom: {
    50: '#b06ca3',
    500: '#8b297e',
    950: '#000000',
  },
}
SCSS
$custom: #8b297e;
$custom-light: #b06ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b297e",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 307.959,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.16424,
    "h": 333.7
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#8B297E
secondary
#5BB567
accent
#DE5E4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B297E

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

Preview Lab → · Contrast checker → · Palette generator →

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