#8A2CAF#8A2CAF

#8A2CAF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.202 H 314.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2CAF
RGBrgb(138, 44, 175)
HSLhsl(283, 60%, 43%)
HSVhsv(283, 75%, 69%)
CMYKcmyk(21.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(38.38, 58.58, -51.29)
CIE-LCHlch(38.38, 77.86, 318.80°)
OKLaboklab(49.48% 0.1414 -0.1448)
OKLCHoklch(49.48% 0.202 314.3)
XYZxyz(19.1185, 10.3004, 41.5302)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CAF #51AF2C
analogous
#482CAF #8A2CAF #AF2C93
triadic
#8A2CAF #AF8A2C #2CAF8A
tetradic
#8A2CAF #AF482C #51AF2C #2C93AF
square
#8A2CAF #AF482C #51AF2C #2C93AF
split-complementary
#8A2CAF #93AF2C #2CAF48
monochromatic
#3D134D #63207E #8A2CAF #AA47D1 #C178DD

Accessibility & contrast

On white

6.86
#8A2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CAF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CAF#FFFFFF#000000##FFFFFF
##8A2CAF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#87496C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a2caf;
/* rgb */ color: rgb(138, 44, 175);
/* oklch */ color: oklch(49.5% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#b06fc8',
    500: '#8a2caf',
    950: '#000000',
  },
}
SCSS
$custom: #8a2caf;
$custom-light: #b06fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2caf",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 283.053,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.20239,
    "h": 314.3
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#8A2CAF
secondary
#89C572
accent
#E34571
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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