#8A2495#8A2495

#8A2495 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.188 H 323.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8A2495
RGBrgb(138, 36, 149)
HSLhsl(294, 61%, 36%)
HSVhsv(294, 76%, 58%)
CMYKcmyk(7.4%, 75.8%, 0%, 41.6%)
CIE-LABlab(35.67, 56.43, -39.99)
CIE-LCHlch(35.67, 69.16, 324.68°)
OKLaboklab(47.02% 0.1517 -0.1116)
OKLCHoklch(47.02% 0.188 323.7)
XYZxyz(16.5364, 8.8360, 29.2625)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2495 #2F9524
analogous
#522495 #8A2495 #952468
triadic
#8A2495 #958A24 #24958A
tetradic
#8A2495 #955224 #2F9524 #246895
square
#8A2495 #955224 #2F9524 #246895
split-complementary
#8A2495 #689524 #249552
monochromatic
#2F0C32 #5C1864 #8A2495 #B830C6 #CC5CD8

Accessibility & contrast

On white

7.59
#8A2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2495
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2495#FFFFFF#000000##FFFFFF
##8A24951.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#385892
Tritanopia (blue-blind)
#8C395B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2495;
/* rgb */ color: rgb(138, 36, 149);
/* oklch */ color: oklch(47.0% 0.188 323.7);
Tailwind
colors: {
  custom: {
    50: '#b06ab5',
    500: '#8a2495',
    950: '#000000',
  },
}
SCSS
$custom: #8a2495;
$custom-light: #b06ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2495",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 294.159,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.18829,
    "h": 323.7
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#8A2495
secondary
#62BC59
accent
#E44453
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2495

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

Preview Lab → · Contrast checker → · Palette generator →

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