#8A2CA3#8A2CA3

#8A2CA3 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.191 H 318.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2CA3
RGBrgb(138, 44, 163)
HSLhsl(287, 57%, 41%)
HSVhsv(287, 73%, 64%)
CMYKcmyk(15.3%, 73%, 0%, 36.1%)
CIE-LABlab(37.57, 56.18, -45.41)
CIE-LCHlch(37.57, 72.24, 321.05°)
OKLaboklab(48.66% 0.1429 -0.1275)
OKLCHoklch(48.66% 0.191 318.2)
XYZxyz(17.9919, 9.8498, 35.5967)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CA3 #45A32C
analogous
#4E2CA3 #8A2CA3 #A32C80
triadic
#8A2CA3 #A38A2C #2CA38A
tetradic
#8A2CA3 #A34E2C #45A32C #2C80A3
square
#8A2CA3 #A34E2C #45A32C #2C80A3
split-complementary
#8A2CA3 #80A32C #2CA34E
monochromatic
#381243 #611F73 #8A2CA3 #AE41CC #C371D9

Accessibility & contrast

On white

7.07
#8A2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2CA3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CA3#FFFFFF#000000##FFFFFF
##8A2CA31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#894465
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a2ca3;
/* rgb */ color: rgb(138, 44, 163);
/* oklch */ color: oklch(48.7% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#b06ebf',
    500: '#8a2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8a2ca3;
$custom-light: #b06ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2ca3",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 287.395,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48656,
    "c": 0.19149,
    "h": 318.2
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#8A2CA3
secondary
#7DC06B
accent
#E14767
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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