#8A2E90#8A2E90

#8A2E90 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 325.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A2E90
RGBrgb(138, 46, 144)
HSLhsl(296, 52%, 37%)
HSVhsv(296, 68%, 56%)
CMYKcmyk(4.2%, 68.1%, 0%, 43.5%)
CIE-LABlab(36.69, 51.76, -35.30)
CIE-LCHlch(36.69, 62.65, 325.71°)
OKLaboklab(47.65% 0.1414 -0.098)
OKLCHoklch(47.65% 0.172 325.3)
XYZxyz(16.4919, 9.3719, 27.3205)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E90 #34902E
analogous
#592E90 #8A2E90 #902E65
triadic
#8A2E90 #908A2E #2E908A
tetradic
#8A2E90 #90592E #34902E #2E6590
square
#8A2E90 #90592E #34902E #2E6590
split-complementary
#8A2E90 #65902E #2E9059
monochromatic
#311033 #5E1F62 #8A2E90 #B63DBE #C969CF

Accessibility & contrast

On white

7.31
#8A2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E90
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E90#FFFFFF#000000##FFFFFF
##8A2E901.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F93
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#8D3D5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a2e90;
/* rgb */ color: rgb(138, 46, 144);
/* oklch */ color: oklch(47.7% 0.172 325.3);
Tailwind
colors: {
  custom: {
    50: '#af6fb1',
    500: '#8a2e90',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e90;
$custom-light: #af6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e90",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 296.327,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.17207,
    "h": 325.3
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#8A2E90
secondary
#69B664
accent
#DB4D55
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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