#8A2DAF#8A2DAF

#8A2DAF is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.201 H 314.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A2DAF
RGBrgb(138, 45, 175)
HSLhsl(283, 59%, 43%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(21.1%, 74.3%, 0%, 31.4%)
CIE-LABlab(38.51, 58.20, -51.08)
CIE-LCHlch(38.51, 77.44, 318.73°)
OKLaboklab(49.58% 0.1405 -0.1441)
OKLCHoklch(49.58% 0.201 314.3)
XYZxyz(19.1562, 10.3758, 41.5428)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2DAF #52AF2D
analogous
#492DAF #8A2DAF #AF2D93
triadic
#8A2DAF #AF8A2D #2DAF8A
tetradic
#8A2DAF #AF492D #52AF2D #2D93AF
square
#8A2DAF #AF492D #52AF2D #2D93AF
split-complementary
#8A2DAF #93AF2D #2DAF49
monochromatic
#3D144E #64207E #8A2DAF #AA49D0 #C17ADD

Accessibility & contrast

On white

6.83
#8A2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2DAF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2DAF#FFFFFF#000000##FFFFFF
##8A2DAF1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#874A6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a2daf;
/* rgb */ color: rgb(138, 45, 175);
/* oklch */ color: oklch(49.6% 0.201 314.3);
Tailwind
colors: {
  custom: {
    50: '#b06fc8',
    500: '#8a2daf',
    950: '#000000',
  },
}
SCSS
$custom: #8a2daf;
$custom-light: #b06fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2daf",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 282.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.20128,
    "h": 314.3
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#8A2DAF
secondary
#8AC573
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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