#8D238F#8D238F

#8D238F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.186 H 327.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8D238F
RGBrgb(141, 35, 143)
HSLhsl(299, 61%, 35%)
HSVhsv(299, 76%, 56%)
CMYKcmyk(1.4%, 75.5%, 0%, 43.9%)
CIE-LABlab(35.69, 56.36, -36.24)
CIE-LCHlch(35.69, 67.00, 327.25°)
OKLaboklab(47.02% 0.1563 -0.1006)
OKLCHoklch(47.02% 0.186 327.2)
XYZxyz(16.5432, 8.8491, 26.8180)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D238F #258F23
analogous
#57238F #8D238F #8F235B
triadic
#8D238F #8F8D23 #238F8D
tetradic
#8D238F #8F5723 #258F23 #235B8F
square
#8D238F #8F5723 #258F23 #235B8F
split-complementary
#8D238F #5B8F23 #238F57
monochromatic
#2C0B2D #5D175E #8D238F #BD2FC0 #D357D6

Accessibility & contrast

On white

7.58
#8D238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8D238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D238F
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D238F#FFFFFF#000000##FFFFFF
##8D238F1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#913557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d238f;
/* rgb */ color: rgb(141, 35, 143);
/* oklch */ color: oklch(47.0% 0.186 327.2);
Tailwind
colors: {
  custom: {
    50: '#b26ab0',
    500: '#8d238f',
    950: '#000000',
  },
}
SCSS
$custom: #8d238f;
$custom-light: #b26ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d238f",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 298.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.18584,
    "h": 327.2
  },
  "luminance": 0.08848
}

Semantic roles & 50–950 ramp

primary
#8D238F
secondary
#56BA54
accent
#E44447
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D238F

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

Preview Lab → · Contrast checker → · Palette generator →

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