#8B237B#8B237B

#8B237B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.169 H 335.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8B237B
RGBrgb(139, 35, 123)
HSLhsl(309, 60%, 34%)
HSVhsv(309, 75%, 55%)
CMYKcmyk(0%, 74.8%, 11.5%, 45.5%)
CIE-LABlab(34.24, 52.60, -26.16)
CIE-LCHlch(34.24, 58.75, 333.56°)
OKLaboklab(45.55% 0.1534 -0.0715)
OKLCHoklch(45.55% 0.169 335)
XYZxyz(14.8238, 8.1224, 19.5221)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B237B #238B33
analogous
#67238B #8B237B #8B2347
triadic
#8B237B #7B8B23 #237B8B
tetradic
#8B237B #8B6723 #238B33 #23478B
square
#8B237B #8B6723 #238B33 #23478B
split-complementary
#8B237B #478B23 #238B67
monochromatic
#290A24 #5A1750 #8B237B #BC2FA6 #D454C0

Accessibility & contrast

On white

8.00
#8B237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B237B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B237B#FFFFFF#000000##FFFFFF
##8B237B1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#485679
Tritanopia (blue-blind)
#922B4C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b237b;
/* rgb */ color: rgb(139, 35, 123);
/* oklch */ color: oklch(45.5% 0.169 335.0);
Tailwind
colors: {
  custom: {
    50: '#b069a1',
    500: '#8b237b',
    950: '#000000',
  },
}
SCSS
$custom: #8b237b;
$custom-light: #b069a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b237b",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 309.231,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.16928,
    "h": 335
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#8B237B
secondary
#52B862
accent
#E35D45
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B237B

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

Preview Lab → · Contrast checker → · Palette generator →

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