#8A2294#8A2294

#8A2294 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.190 H 324.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A2294
RGBrgb(138, 34, 148)
HSLhsl(295, 63%, 36%)
HSVhsv(295, 77%, 58%)
CMYKcmyk(6.8%, 77%, 0%, 42%)
CIE-LABlab(35.37, 56.91, -39.84)
CIE-LCHlch(35.37, 69.47, 325.00°)
OKLaboklab(46.79% 0.1535 -0.1112)
OKLCHoklch(46.79% 0.19 324.1)
XYZxyz(16.3981, 8.6865, 28.8242)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2294 #2C9422
analogous
#512294 #8A2294 #942265
triadic
#8A2294 #948A22 #22948A
tetradic
#8A2294 #945122 #2C9422 #226594
square
#8A2294 #945122 #2C9422 #226594
split-complementary
#8A2294 #659422 #229451
monochromatic
#2D0B30 #5C1762 #8A2294 #B82DC6 #CD58D9

Accessibility & contrast

On white

7.67
#8A2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2294
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2294#FFFFFF#000000##FFFFFF
##8A22941.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2294;
/* rgb */ color: rgb(138, 34, 148);
/* oklch */ color: oklch(46.8% 0.190 324.1);
Tailwind
colors: {
  custom: {
    50: '#b069b4',
    500: '#8a2294',
    950: '#000000',
  },
}
SCSS
$custom: #8a2294;
$custom-light: #b069b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2294",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 294.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46787,
    "c": 0.18955,
    "h": 324.1
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#8A2294
secondary
#5EBD55
accent
#E64250
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8A2294

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

Preview Lab → · Contrast checker → · Palette generator →

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