#8A2094#8A2094

#8A2094 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.192 H 324.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A2094
RGBrgb(138, 32, 148)
HSLhsl(295, 64%, 35%)
HSVhsv(295, 78%, 58%)
CMYKcmyk(6.8%, 78.4%, 0%, 42%)
CIE-LABlab(35.15, 57.54, -40.20)
CIE-LCHlch(35.15, 70.19, 325.06°)
OKLaboklab(46.63% 0.1553 -0.1122)
OKLCHoklch(46.63% 0.192 324.2)
XYZxyz(16.3426, 8.5755, 28.8057)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2094 #2A9420
analogous
#502094 #8A2094 #942064
triadic
#8A2094 #948A20 #20948A
tetradic
#8A2094 #945020 #2A9420 #206494
square
#8A2094 #945020 #2A9420 #206494
split-complementary
#8A2094 #649420 #209450
monochromatic
#2C0A2F #5B1562 #8A2094 #B92BC6 #CF54DA

Accessibility & contrast

On white

7.74
#8A2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2094
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2094#FFFFFF#000000##FFFFFF
##8A20941.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#375791
Tritanopia (blue-blind)
#8D365A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2094;
/* rgb */ color: rgb(138, 32, 148);
/* oklch */ color: oklch(46.6% 0.192 324.2);
Tailwind
colors: {
  custom: {
    50: '#b069b4',
    500: '#8a2094',
    950: '#000000',
  },
}
SCSS
$custom: #8a2094;
$custom-light: #b069b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2094",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 294.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.19155,
    "h": 324.2
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#8A2094
secondary
#5BBE52
accent
#E7404F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2094

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

Preview Lab → · Contrast checker → · Palette generator →

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