#8A259F#8A259F

#8A259F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.196 H 320.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8A259F
RGBrgb(138, 37, 159)
HSLhsl(290, 62%, 38%)
HSVhsv(290, 77%, 62%)
CMYKcmyk(13.2%, 76.7%, 0%, 37.6%)
CIE-LABlab(36.42, 57.94, -44.84)
CIE-LCHlch(36.42, 73.27, 322.26°)
OKLaboklab(47.76% 0.1499 -0.1258)
OKLCHoklch(47.76% 0.196 320)
XYZxyz(17.4000, 9.2305, 33.6593)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A259F #3A9F25
analogous
#4D259F #8A259F #9F2577
triadic
#8A259F #9F8A25 #259F8A
tetradic
#8A259F #9F4D25 #3A9F25 #25779F
square
#8A259F #9F4D25 #3A9F25 #25779F
split-complementary
#8A259F #779F25 #259F4D
monochromatic
#340E3C #5F196D #8A259F #B432CF #C664DB

Accessibility & contrast

On white

7.38
#8A259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A259F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A259F#FFFFFF#000000##FFFFFF
##8A259F1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#8A3E61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a259f;
/* rgb */ color: rgb(138, 37, 159);
/* oklch */ color: oklch(47.8% 0.196 320.0);
Tailwind
colors: {
  custom: {
    50: '#b06bbc',
    500: '#8a259f',
    950: '#000000',
  },
}
SCSS
$custom: #8a259f;
$custom-light: #b06bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a259f",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 289.672,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.19569,
    "h": 320
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

primary
#8A259F
secondary
#70C05F
accent
#E5425F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A259F

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

Preview Lab → · Contrast checker → · Palette generator →

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