#8A2EAF#8A2EAF

#8A2EAF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.7% C 0.200 H 314.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A2EAF
RGBrgb(138, 46, 175)
HSLhsl(283, 58%, 43%)
HSVhsv(283, 74%, 69%)
CMYKcmyk(21.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(38.64, 57.82, -50.86)
CIE-LCHlch(38.64, 77.00, 318.66°)
OKLaboklab(49.67% 0.1395 -0.1435)
OKLCHoklch(49.67% 0.2 314.2)
XYZxyz(19.1948, 10.4531, 41.5557)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2EAF #53AF2E
analogous
#4A2EAF #8A2EAF #AF2E93
triadic
#8A2EAF #AF8A2E #2EAF8A
tetradic
#8A2EAF #AF4A2E #53AF2E #2E93AF
square
#8A2EAF #AF4A2E #53AF2E #2E93AF
split-complementary
#8A2EAF #93AF2E #2EAF4A
monochromatic
#3E154E #64217F #8A2EAF #A94BD0 #C07BDC

Accessibility & contrast

On white

6.80
#8A2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2EAF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2EAF#FFFFFF#000000##FFFFFF
##8A2EAF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2eaf;
/* rgb */ color: rgb(138, 46, 175);
/* oklch */ color: oklch(49.7% 0.200 314.2);
Tailwind
colors: {
  custom: {
    50: '#b070c8',
    500: '#8a2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8a2eaf;
$custom-light: #b070c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2eaf",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 282.791,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.20016,
    "h": 314.2
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#8A2EAF
secondary
#8BC574
accent
#E24673
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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