#8A2C93#8A2C93

#8A2C93 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 324.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A2C93
RGBrgb(138, 44, 147)
HSLhsl(295, 54%, 37%)
HSVhsv(295, 70%, 58%)
CMYKcmyk(6.1%, 70.1%, 0%, 42.4%)
CIE-LABlab(36.58, 53.12, -37.31)
CIE-LCHlch(36.58, 64.92, 324.92°)
OKLaboklab(47.63% 0.1437 -0.1038)
OKLCHoklch(47.63% 0.177 324.1)
XYZxyz(16.6479, 9.3122, 28.5187)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C93 #35932C
analogous
#562C93 #8A2C93 #932C69
triadic
#8A2C93 #938A2C #2C938A
tetradic
#8A2C93 #93562C #35932C #2C6993
square
#8A2C93 #93562C #35932C #2C6993
split-complementary
#8A2C93 #69932C #2C9356
monochromatic
#321035 #5E1E64 #8A2C93 #B63AC2 #C868D2

Accessibility & contrast

On white

7.34
#8A2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C93
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C93#FFFFFF#000000##FFFFFF
##8A2C931.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114F96
Deuteranopia (green-blind)
#3E5A90
Tritanopia (blue-blind)
#8D3D5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2c93;
/* rgb */ color: rgb(138, 44, 147);
/* oklch */ color: oklch(47.6% 0.177 324.1);
Tailwind
colors: {
  custom: {
    50: '#af6eb3',
    500: '#8a2c93',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c93;
$custom-light: #af6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c93",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 294.757,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.17727,
    "h": 324.1
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#8A2C93
secondary
#6AB863
accent
#DD4A57
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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