#8A2490#8A2490

#8A2490 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.184 H 325.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8A2490
RGBrgb(138, 36, 144)
HSLhsl(297, 60%, 35%)
HSVhsv(297, 75%, 56%)
CMYKcmyk(4.2%, 75%, 0%, 43.5%)
CIE-LABlab(35.36, 55.53, -37.42)
CIE-LCHlch(35.36, 66.96, 326.03°)
OKLaboklab(46.7% 0.1519 -0.1041)
OKLCHoklch(46.7% 0.184 325.6)
XYZxyz(16.1458, 8.6797, 27.2051)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2490 #2A9024
analogous
#542490 #8A2490 #902460
triadic
#8A2490 #908A24 #24908A
tetradic
#8A2490 #905424 #2A9024 #246090
square
#8A2490 #905424 #2A9024 #246090
split-complementary
#8A2490 #609024 #249054
monochromatic
#2C0C2E #5B185F #8A2490 #B930C1 #CF59D5

Accessibility & contrast

On white

7.68
#8A2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2490
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2490#FFFFFF#000000##FFFFFF
##8A24901.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#8D3758
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2490;
/* rgb */ color: rgb(138, 36, 144);
/* oklch */ color: oklch(46.7% 0.184 325.6);
Tailwind
colors: {
  custom: {
    50: '#b06ab1',
    500: '#8a2490',
    950: '#000000',
  },
}
SCSS
$custom: #8a2490;
$custom-light: #b06ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2490",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 296.667,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.18414,
    "h": 325.6
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#8A2490
secondary
#5BBA56
accent
#E3454D
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2490

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

Preview Lab → · Contrast checker → · Palette generator →

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