#8D238C#8D238C

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

Color values

HEX#8D238C
RGBrgb(141, 35, 140)
HSLhsl(301, 60%, 35%)
HSVhsv(301, 75%, 55%)
CMYKcmyk(0%, 75.2%, 0.7%, 44.7%)
CIE-LABlab(35.52, 55.84, -34.68)
CIE-LCHlch(35.52, 65.74, 328.16°)
OKLaboklab(46.83% 0.1563 -0.096)
OKLCHoklch(46.83% 0.183 328.4)
XYZxyz(16.3190, 8.7594, 25.6371)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D238C #238D24
analogous
#59238D #8D238C #8D2357
triadic
#8D238C #8C8D23 #238C8D
tetradic
#8D238C #8D5923 #238D24 #23578D
square
#8D238C #8D5923 #238D24 #23578D
split-complementary
#8D238C #578D23 #238D59
monochromatic
#2B0B2B #5C175B #8D238C #BE2FBD #D555D4

Accessibility & contrast

On white

7.63
#8D238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D238C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D238C#FFFFFF#000000##FFFFFF
##8D238C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B8F
Deuteranopia (green-blind)
#415889
Tritanopia (blue-blind)
#923356
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d238c;
/* rgb */ color: rgb(141, 35, 140);
/* oklch */ color: oklch(46.8% 0.183 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26aae',
    500: '#8d238c',
    950: '#000000',
  },
}
SCSS
$custom: #8d238c;
$custom-light: #b26aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d238c",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 300.566,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.18345,
    "h": 328.4
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#8D238C
secondary
#53B954
accent
#E34644
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D238C

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

Preview Lab → · Contrast checker → · Palette generator →

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