#8A259C#8A259C

#8A259C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.193 H 321.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8A259C
RGBrgb(138, 37, 156)
HSLhsl(291, 62%, 38%)
HSVhsv(291, 76%, 61%)
CMYKcmyk(11.5%, 76.3%, 0%, 38.8%)
CIE-LABlab(36.23, 57.38, -43.34)
CIE-LCHlch(36.23, 71.91, 322.93°)
OKLaboklab(47.56% 0.1502 -0.1214)
OKLCHoklch(47.56% 0.193 321.1)
XYZxyz(17.1429, 9.1276, 32.3049)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A259C #379C25
analogous
#4E259C #8A259C #9C2573
triadic
#8A259C #9C8A25 #259C8A
tetradic
#8A259C #9C4E25 #379C25 #25739C
square
#8A259C #9C4E25 #379C25 #25739C
split-complementary
#8A259C #739C25 #259C4E
monochromatic
#320E39 #5E196B #8A259C #B631CD #C862DA

Accessibility & contrast

On white

7.43
#8A259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A259C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A259C#FFFFFF#000000##FFFFFF
##8A259C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#335999
Tritanopia (blue-blind)
#8B3D5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a259c;
/* rgb */ color: rgb(138, 37, 156);
/* oklch */ color: oklch(47.6% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#b06bba',
    500: '#8a259c',
    950: '#000000',
  },
}
SCSS
$custom: #8a259c;
$custom-light: #b06bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a259c",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 290.924,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.19313,
    "h": 321.1
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#8A259C
secondary
#6DBF5E
accent
#E5435C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A259C

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

Preview Lab → · Contrast checker → · Palette generator →

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