#8D267C#8D267C

#8D267C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.168 H 335.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8D267C
RGBrgb(141, 38, 124)
HSLhsl(310, 58%, 35%)
HSVhsv(310, 73%, 55%)
CMYKcmyk(0%, 73%, 12.1%, 44.7%)
CIE-LABlab(35.01, 52.20, -25.54)
CIE-LCHlch(35.01, 58.11, 333.92°)
OKLaboklab(46.19% 0.1525 -0.0697)
OKLCHoklch(46.19% 0.168 335.4)
XYZxyz(15.3159, 8.5055, 19.9000)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D267C #268D37
analogous
#6B268D #8D267C #8D2648
triadic
#8D267C #7C8D26 #267C8D
tetradic
#8D267C #8D6B26 #268D37 #26488D
square
#8D267C #8D6B26 #268D37 #26488D
split-complementary
#8D267C #488D26 #268D6B
monochromatic
#2D0C27 #5D1952 #8D267C #BD33A6 #D35BBF

Accessibility & contrast

On white

7.78
#8D267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D267C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D267C#FFFFFF#000000##FFFFFF
##8D267C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497E
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#942E4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d267c;
/* rgb */ color: rgb(141, 38, 124);
/* oklch */ color: oklch(46.2% 0.168 335.4);
Tailwind
colors: {
  custom: {
    50: '#b26ba2',
    500: '#8d267c',
    950: '#000000',
  },
}
SCSS
$custom: #8d267c;
$custom-light: #b26ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d267c",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 309.903,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.16767,
    "h": 335.4
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#8D267C
secondary
#57B867
accent
#E16047
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D267C

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

Preview Lab → · Contrast checker → · Palette generator →

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