#8D2FA2#8D2FA2

#8D2FA2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.188 H 319.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D2FA2
RGBrgb(141, 47, 162)
HSLhsl(289, 55%, 41%)
HSVhsv(289, 71%, 64%)
CMYKcmyk(13%, 71%, 0%, 36.5%)
CIE-LABlab(38.38, 55.46, -43.48)
CIE-LCHlch(38.38, 70.48, 321.90°)
OKLaboklab(49.31% 0.1435 -0.1218)
OKLCHoklch(49.31% 0.188 319.7)
XYZxyz(18.5218, 10.3053, 35.1889)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FA2 #44A22F
analogous
#532FA2 #8D2FA2 #A22F7D
triadic
#8D2FA2 #A28D2F #2FA28D
tetradic
#8D2FA2 #A2532F #44A22F #2F7DA2
square
#8D2FA2 #A2532F #44A22F #2F7DA2
split-complementary
#8D2FA2 #7DA22F #2FA253
monochromatic
#3A1343 #642173 #8D2FA2 #B145C9 #C575D7

Accessibility & contrast

On white

6.86
#8D2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FA2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FA2#FFFFFF#000000##FFFFFF
##8D2FA21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#385E9F
Tritanopia (blue-blind)
#8D4565
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2fa2;
/* rgb */ color: rgb(141, 47, 162);
/* oklch */ color: oklch(49.3% 0.188 319.7);
Tailwind
colors: {
  custom: {
    50: '#b270be',
    500: '#8d2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fa2;
$custom-light: #b270be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fa2",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 289.043,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4931,
    "c": 0.18824,
    "h": 319.7
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#8D2FA2
secondary
#7DBF6E
accent
#DE4965
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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