#8A2395#8A2395

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

Color values

HEX#8A2395
RGBrgb(138, 35, 149)
HSLhsl(294, 62%, 36%)
HSVhsv(294, 77%, 58%)
CMYKcmyk(7.4%, 76.5%, 0%, 41.6%)
CIE-LABlab(35.55, 56.76, -40.17)
CIE-LCHlch(35.55, 69.54, 324.71°)
OKLaboklab(46.93% 0.1526 -0.1121)
OKLCHoklch(46.93% 0.189 323.7)
XYZxyz(16.5066, 8.7763, 29.2525)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2395 #2E9523
analogous
#512395 #8A2395 #952367
triadic
#8A2395 #958A23 #23958A
tetradic
#8A2395 #955123 #2E9523 #236795
square
#8A2395 #955123 #2E9523 #236795
split-complementary
#8A2395 #679523 #239551
monochromatic
#2E0C32 #5C1763 #8A2395 #B82FC7 #CC5AD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2395#FFFFFF#000000##FFFFFF
##8A23951.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)
#004C98
Deuteranopia (green-blind)
#385892
Tritanopia (blue-blind)
#8C385B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2395;
/* rgb */ color: rgb(138, 35, 149);
/* oklch */ color: oklch(46.9% 0.189 323.7);
Tailwind
colors: {
  custom: {
    50: '#b06ab5',
    500: '#8a2395',
    950: '#000000',
  },
}
SCSS
$custom: #8a2395;
$custom-light: #b06ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2395",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 149
  },
  "hsl": {
    "h": 294.211,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.18934,
    "h": 323.7
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#8A2395
secondary
#61BD57
accent
#E54352
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2395

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

Preview Lab → · Contrast checker → · Palette generator →

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