#8A268F#8A268F

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

Color values

HEX#8A268F
RGBrgb(138, 38, 143)
HSLhsl(297, 58%, 35%)
HSVhsv(297, 73%, 56%)
CMYKcmyk(3.5%, 73.4%, 0%, 43.9%)
CIE-LABlab(35.54, 54.66, -36.51)
CIE-LCHlch(35.54, 65.73, 326.26°)
OKLaboklab(46.81% 0.15 -0.1015)
OKLCHoklch(46.81% 0.181 325.9)
XYZxyz(16.1319, 8.7737, 26.8251)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A268F #2B8F26
analogous
#55268F #8A268F #8F265F
triadic
#8A268F #8F8A26 #268F8A
tetradic
#8A268F #8F5526 #2B8F26 #265F8F
square
#8A268F #8F5526 #2B8F26 #265F8F
split-complementary
#8A268F #5F8F26 #268F55
monochromatic
#2D0C2E #5B195F #8A268F #B933BF #CE5CD4

Accessibility & contrast

On white

7.62
#8A268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A268F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A268F#FFFFFF#000000##FFFFFF
##8A268F1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#8E3758
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a268f;
/* rgb */ color: rgb(138, 38, 143);
/* oklch */ color: oklch(46.8% 0.181 325.9);
Tailwind
colors: {
  custom: {
    50: '#b06bb0',
    500: '#8a268f',
    950: '#000000',
  },
}
SCSS
$custom: #8a268f;
$custom-light: #b06bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a268f",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 297.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.18108,
    "h": 325.9
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#8A268F
secondary
#5DB958
accent
#E1474E
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A268F

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

Preview Lab → · Contrast checker → · Palette generator →

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