#8A259D#8A259D

#8A259D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.194 H 320.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A259D
RGBrgb(138, 37, 157)
HSLhsl(291, 62%, 38%)
HSVhsv(291, 76%, 62%)
CMYKcmyk(12.1%, 76.4%, 0%, 38.4%)
CIE-LABlab(36.29, 57.56, -43.84)
CIE-LCHlch(36.29, 72.36, 322.70°)
OKLaboklab(47.62% 0.1501 -0.1229)
OKLCHoklch(47.62% 0.194 320.7)
XYZxyz(17.2279, 9.1617, 32.7527)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A259D #389D25
analogous
#4E259D #8A259D #9D2574
triadic
#8A259D #9D8A25 #259D8A
tetradic
#8A259D #9D4E25 #389D25 #25749D
square
#8A259D #9D4E25 #389D25 #25749D
split-complementary
#8A259D #749D25 #259D4E
monochromatic
#330E3A #5E196B #8A259D #B531CE #C762DA

Accessibility & contrast

On white

7.41
#8A259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A259D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A259D#FFFFFF#000000##FFFFFF
##8A259D1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#8B3D60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a259d;
/* rgb */ color: rgb(138, 37, 157);
/* oklch */ color: oklch(47.6% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#b06bba',
    500: '#8a259d',
    950: '#000000',
  },
}
SCSS
$custom: #8a259d;
$custom-light: #b06bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a259d",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 290.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.19398,
    "h": 320.7
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#8A259D
secondary
#6EBF5E
accent
#E5435D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A259D

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

Preview Lab → · Contrast checker → · Palette generator →

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