#8A239A#8A239A

#8A239A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.194 H 321.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A239A
RGBrgb(138, 35, 154)
HSLhsl(292, 63%, 37%)
HSVhsv(292, 77%, 60%)
CMYKcmyk(10.4%, 77.3%, 0%, 39.6%)
CIE-LABlab(35.87, 57.67, -42.71)
CIE-LCHlch(35.87, 71.77, 323.48°)
OKLaboklab(47.26% 0.1522 -0.1195)
OKLCHoklch(47.26% 0.194 321.8)
XYZxyz(16.9144, 8.9394, 31.4001)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A239A #339A23
analogous
#4F239A #8A239A #9A236F
triadic
#8A239A #9A8A23 #239A8A
tetradic
#8A239A #9A4F23 #339A23 #236F9A
square
#8A239A #9A4F23 #339A23 #236F9A
split-complementary
#8A239A #6F9A23 #239A4F
monochromatic
#310C36 #5D1868 #8A239A #B72ECC #C95DDA

Accessibility & contrast

On white

7.53
#8A239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A239A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A239A#FFFFFF#000000##FFFFFF
##8A239A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#8B3B5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a239a;
/* rgb */ color: rgb(138, 35, 154);
/* oklch */ color: oklch(47.3% 0.194 321.8);
Tailwind
colors: {
  custom: {
    50: '#b06ab8',
    500: '#8a239a',
    950: '#000000',
  },
}
SCSS
$custom: #8a239a;
$custom-light: #b06ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a239a",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 291.933,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47259,
    "c": 0.19351,
    "h": 321.8
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#8A239A
secondary
#67BF5A
accent
#E64258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A239A

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

Preview Lab → · Contrast checker → · Palette generator →

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