#8A2AAF#8A2AAF

#8A2AAF is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.205 H 314.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2AAF
RGBrgb(138, 42, 175)
HSLhsl(283, 61%, 43%)
HSVhsv(283, 76%, 69%)
CMYKcmyk(21.1%, 76%, 0%, 31.4%)
CIE-LABlab(38.12, 59.32, -51.71)
CIE-LCHlch(38.12, 78.69, 318.92°)
OKLaboklab(49.3% 0.1433 -0.146)
OKLCHoklch(49.3% 0.205 314.5)
XYZxyz(19.0458, 10.1550, 41.5060)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2AAF #4FAF2A
analogous
#472AAF #8A2AAF #AF2A92
triadic
#8A2AAF #AF8A2A #2AAF8A
tetradic
#8A2AAF #AF472A #4FAF2A #2A92AF
square
#8A2AAF #AF472A #4FAF2A #2A92AF
split-complementary
#8A2AAF #92AF2A #2AAF47
monochromatic
#3C124C #631E7E #8A2AAF #AB44D2 #C175DE

Accessibility & contrast

On white

6.93
#8A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2AAF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2AAF#FFFFFF#000000##FFFFFF
##8A2AAF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#87486B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a2aaf;
/* rgb */ color: rgb(138, 42, 175);
/* oklch */ color: oklch(49.3% 0.205 314.5);
Tailwind
colors: {
  custom: {
    50: '#b06ec8',
    500: '#8a2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8a2aaf;
$custom-light: #b06ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2aaf",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 283.308,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.20453,
    "h": 314.5
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#8A2AAF
secondary
#87C66F
accent
#E44370
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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