#8D238E#8D238E

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

Color values

HEX#8D238E
RGBrgb(141, 35, 142)
HSLhsl(299, 60%, 35%)
HSVhsv(299, 75%, 56%)
CMYKcmyk(0.7%, 75.4%, 0%, 44.3%)
CIE-LABlab(35.63, 56.18, -35.72)
CIE-LCHlch(35.63, 66.58, 327.55°)
OKLaboklab(46.95% 0.1563 -0.0991)
OKLCHoklch(46.95% 0.185 327.6)
XYZxyz(16.4678, 8.8190, 26.4208)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D238E #248E23
analogous
#57238E #8D238E #8E235A
triadic
#8D238E #8E8D23 #238E8D
tetradic
#8D238E #8E5723 #248E23 #235A8E
square
#8D238E #8E5723 #248E23 #235A8E
split-complementary
#8D238E #5A8E23 #238E57
monochromatic
#2B0B2C #5C175D #8D238E #BE2FBF #D456D5

Accessibility & contrast

On white

7.60
#8D238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D238E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D238E#FFFFFF#000000##FFFFFF
##8D238E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094B91
Deuteranopia (green-blind)
#40588B
Tritanopia (blue-blind)
#913457
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d238e;
/* rgb */ color: rgb(141, 35, 142);
/* oklch */ color: oklch(47.0% 0.185 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26aaf',
    500: '#8d238e',
    950: '#000000',
  },
}
SCSS
$custom: #8d238e;
$custom-light: #b26aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d238e",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 299.439,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.18504,
    "h": 327.6
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#8D238E
secondary
#54B953
accent
#E44446
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D238E

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

Preview Lab → · Contrast checker → · Palette generator →

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