#8A2090#8A2090

#8A2090 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.188 H 325.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2090
RGBrgb(138, 32, 144)
HSLhsl(297, 64%, 35%)
HSVhsv(297, 78%, 56%)
CMYKcmyk(4.2%, 77.8%, 0%, 43.5%)
CIE-LABlab(34.91, 56.84, -38.14)
CIE-LCHlch(34.91, 68.45, 326.14°)
OKLaboklab(46.37% 0.1555 -0.1062)
OKLCHoklch(46.37% 0.188 325.7)
XYZxyz(16.0314, 8.4510, 27.1670)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2090 #269020
analogous
#522090 #8A2090 #90205E
triadic
#8A2090 #908A20 #20908A
tetradic
#8A2090 #905220 #269020 #205E90
square
#8A2090 #905220 #269020 #205E90
split-complementary
#8A2090 #5E9020 #209052
monochromatic
#2A0A2C #5A155E #8A2090 #BA2BC2 #D152D9

Accessibility & contrast

On white

7.81
#8A2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2090
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2090#FFFFFF#000000##FFFFFF
##8A20901.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#8D3457
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2090;
/* rgb */ color: rgb(138, 32, 144);
/* oklch */ color: oklch(46.4% 0.188 325.7);
Tailwind
colors: {
  custom: {
    50: '#b069b1',
    500: '#8a2090',
    950: '#000000',
  },
}
SCSS
$custom: #8a2090;
$custom-light: #b069b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2090",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 296.786,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46374,
    "c": 0.18832,
    "h": 325.7
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#8A2090
secondary
#56BC50
accent
#E7414A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2090

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

Preview Lab → · Contrast checker → · Palette generator →

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