#8D238B#8D238B

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

Color values

HEX#8D238B
RGBrgb(141, 35, 139)
HSLhsl(301, 60%, 35%)
HSVhsv(301, 75%, 55%)
CMYKcmyk(0%, 75.2%, 1.4%, 44.7%)
CIE-LABlab(35.46, 55.67, -34.15)
CIE-LCHlch(35.46, 65.32, 328.47°)
OKLaboklab(46.77% 0.1563 -0.0945)
OKLCHoklch(46.77% 0.183 328.8)
XYZxyz(16.2456, 8.7301, 25.2505)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D238B #238D25
analogous
#5A238D #8D238B #8D2356
triadic
#8D238B #8B8D23 #238B8D
tetradic
#8D238B #8D5A23 #238D25 #23568D
square
#8D238B #8D5A23 #238D25 #23568D
split-complementary
#8D238B #568D23 #238D5A
monochromatic
#2B0B2A #5C175B #8D238B #BE2FBB #D555D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D238B#FFFFFF#000000##FFFFFF
##8D238B1.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)
#104A8E
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#923355
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d238b;
/* rgb */ color: rgb(141, 35, 139);
/* oklch */ color: oklch(46.8% 0.183 328.8);
Tailwind
colors: {
  custom: {
    50: '#b26aad',
    500: '#8d238b',
    950: '#000000',
  },
}
SCSS
$custom: #8d238b;
$custom-light: #b26aad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d238b",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 301.132,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.18266,
    "h": 328.8
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#8D238B
secondary
#53B955
accent
#E34744
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D238B

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

Preview Lab → · Contrast checker → · Palette generator →

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