#8F2DA5#8F2DA5

#8F2DA5 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.194 H 319.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8F2DA5
RGBrgb(143, 45, 165)
HSLhsl(289, 57%, 41%)
HSVhsv(289, 73%, 65%)
CMYKcmyk(13.3%, 72.7%, 0%, 35.3%)
CIE-LABlab(38.61, 57.25, -44.90)
CIE-LCHlch(38.61, 72.76, 321.89°)
OKLaboklab(49.59% 0.1478 -0.1259)
OKLCHoklch(49.59% 0.194 319.6)
XYZxyz(19.0567, 10.4340, 36.6002)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DA5 #43A52D
analogous
#532DA5 #8F2DA5 #A52D7F
triadic
#8F2DA5 #A58F2D #2DA58F
tetradic
#8F2DA5 #A5532D #43A52D #2D7FA5
square
#8F2DA5 #A5532D #43A52D #2D7FA5
split-complementary
#8F2DA5 #7FA52D #2DA553
monochromatic
#3C1345 #652075 #8F2DA5 #B343CC #C673D9

Accessibility & contrast

On white

6.80
#8F2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F2DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DA5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DA5#FFFFFF#000000##FFFFFF
##8F2DA51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#8F4466
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2da5;
/* rgb */ color: rgb(143, 45, 165);
/* oklch */ color: oklch(49.6% 0.194 319.6);
Tailwind
colors: {
  custom: {
    50: '#b370c0',
    500: '#8f2da5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2da5;
$custom-light: #b370c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2da5",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 289,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49593,
    "c": 0.19416,
    "h": 319.6
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#8F2DA5
secondary
#7DC16D
accent
#E04763
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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