#8A2394#8A2394

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

Color values

HEX#8A2394
RGBrgb(138, 35, 148)
HSLhsl(295, 62%, 36%)
HSVhsv(295, 76%, 58%)
CMYKcmyk(6.8%, 76.4%, 0%, 42%)
CIE-LABlab(35.49, 56.58, -39.66)
CIE-LCHlch(35.49, 69.10, 324.97°)
OKLaboklab(46.87% 0.1526 -0.1106)
OKLCHoklch(46.87% 0.189 324.1)
XYZxyz(16.4271, 8.7445, 28.8338)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2394 #2D9423
analogous
#512394 #8A2394 #942365
triadic
#8A2394 #948A23 #23948A
tetradic
#8A2394 #945123 #2D9423 #236594
square
#8A2394 #945123 #2D9423 #236594
split-complementary
#8A2394 #659423 #239451
monochromatic
#2E0C31 #5C1763 #8A2394 #B82FC5 #CD5AD8

Accessibility & contrast

On white

7.64
#8A2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2394
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2394#FFFFFF#000000##FFFFFF
##8A23941.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#8D385A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2394;
/* rgb */ color: rgb(138, 35, 148);
/* oklch */ color: oklch(46.9% 0.189 324.1);
Tailwind
colors: {
  custom: {
    50: '#b06ab4',
    500: '#8a2394',
    950: '#000000',
  },
}
SCSS
$custom: #8a2394;
$custom-light: #b06ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2394",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 294.69,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46868,
    "c": 0.18852,
    "h": 324.1
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#8A2394
secondary
#60BC57
accent
#E54351
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2394

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

Preview Lab → · Contrast checker → · Palette generator →

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