#8A2E93#8A2E93

#8A2E93 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.175 H 324.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A2E93
RGBrgb(138, 46, 147)
HSLhsl(295, 52%, 38%)
HSVhsv(295, 69%, 58%)
CMYKcmyk(6.1%, 68.7%, 0%, 42.4%)
CIE-LABlab(36.86, 52.32, -36.86)
CIE-LCHlch(36.86, 64.00, 324.84°)
OKLaboklab(47.83% 0.1415 -0.1025)
OKLCHoklch(47.83% 0.175 324.1)
XYZxyz(16.7242, 9.4648, 28.5441)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E93 #37932E
analogous
#572E93 #8A2E93 #932E6A
triadic
#8A2E93 #938A2E #2E938A
tetradic
#8A2E93 #93572E #37932E #2E6A93
square
#8A2E93 #93572E #37932E #2E6A93
split-complementary
#8A2E93 #6A932E #2E9357
monochromatic
#321136 #5E1F64 #8A2E93 #B63DC2 #C86BD1

Accessibility & contrast

On white

7.26
#8A2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8A2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E93
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E93#FFFFFF#000000##FFFFFF
##8A2E931.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155096
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#8D3E5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2e93;
/* rgb */ color: rgb(138, 46, 147);
/* oklch */ color: oklch(47.8% 0.175 324.1);
Tailwind
colors: {
  custom: {
    50: '#af6fb3',
    500: '#8a2e93',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e93;
$custom-light: #af6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e93",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 294.653,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.17471,
    "h": 324.1
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#8A2E93
secondary
#6DB865
accent
#DC4C59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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