#8A2F93#8A2F93

#8A2F93 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.173 H 324.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A2F93
RGBrgb(138, 47, 147)
HSLhsl(295, 52%, 38%)
HSVhsv(295, 68%, 58%)
CMYKcmyk(6.1%, 68%, 0%, 42.4%)
CIE-LABlab(37.01, 51.91, -36.62)
CIE-LCHlch(37.01, 63.52, 324.79°)
OKLaboklab(47.94% 0.1403 -0.1019)
OKLCHoklch(47.94% 0.173 324)
XYZxyz(16.7637, 9.5439, 28.5573)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F93 #38932F
analogous
#582F93 #8A2F93 #932F6A
triadic
#8A2F93 #938A2F #2F938A
tetradic
#8A2F93 #93582F #38932F #2F6A93
square
#8A2F93 #93582F #38932F #2F6A93
split-complementary
#8A2F93 #6A932F #2F9358
monochromatic
#331136 #5E2065 #8A2F93 #B53EC1 #C76CD0

Accessibility & contrast

On white

7.22
#8A2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F93
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F93#FFFFFF#000000##FFFFFF
##8A2F931.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185096
Deuteranopia (green-blind)
#405B90
Tritanopia (blue-blind)
#8D3F5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a2f93;
/* rgb */ color: rgb(138, 47, 147);
/* oklch */ color: oklch(47.9% 0.173 324.0);
Tailwind
colors: {
  custom: {
    50: '#af6fb3',
    500: '#8a2f93',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f93;
$custom-light: #af6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f93",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 294.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.17339,
    "h": 324
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#8A2F93
secondary
#6EB766
accent
#DB4D5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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