#8D268E#8D268E

#8D268E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.182 H 327.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8D268E
RGBrgb(141, 38, 142)
HSLhsl(299, 58%, 35%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(0.7%, 73.2%, 0%, 44.3%)
CIE-LABlab(35.99, 55.16, -35.16)
CIE-LCHlch(35.99, 65.41, 327.49°)
OKLaboklab(47.21% 0.1534 -0.0974)
OKLCHoklch(47.21% 0.182 327.6)
XYZxyz(16.5599, 9.0031, 26.4515)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D268E #278E26
analogous
#59268E #8D268E #8E265B
triadic
#8D268E #8E8D26 #268E8D
tetradic
#8D268E #8E5926 #278E26 #265B8E
square
#8D268E #8E5926 #278E26 #265B8E
split-complementary
#8D268E #5B8E26 #268E59
monochromatic
#2D0C2D #5D195E #8D268E #BD33BE #D25BD3

Accessibility & contrast

On white

7.50
#8D268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D268E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D268E#FFFFFF#000000##FFFFFF
##8D268E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#913658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d268e;
/* rgb */ color: rgb(141, 38, 142);
/* oklch */ color: oklch(47.2% 0.182 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8d268e',
    950: '#000000',
  },
}
SCSS
$custom: #8d268e;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d268e",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 299.423,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.18174,
    "h": 327.6
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#8D268E
secondary
#59B858
accent
#E14748
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D268E

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

Preview Lab → · Contrast checker → · Palette generator →

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