#8F2CA4#8F2CA4

#8F2CA4 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.194 H 320.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F2CA4
RGBrgb(143, 44, 164)
HSLhsl(290, 58%, 41%)
HSVhsv(290, 73%, 64%)
CMYKcmyk(12.8%, 73.2%, 0%, 35.7%)
CIE-LABlab(38.41, 57.44, -44.62)
CIE-LCHlch(38.41, 72.73, 322.16°)
OKLaboklab(49.43% 0.1489 -0.125)
OKLCHoklch(49.43% 0.194 320)
XYZxyz(18.9284, 10.3223, 36.1101)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA4 #41A42C
analogous
#532CA4 #8F2CA4 #A42C7D
triadic
#8F2CA4 #A48F2C #2CA48F
tetradic
#8F2CA4 #A4532C #41A42C #2C7DA4
square
#8F2CA4 #A4532C #41A42C #2C7DA4
split-complementary
#8F2CA4 #7DA42C #2CA453
monochromatic
#3B1243 #651F74 #8F2CA4 #B441CC #C771D9

Accessibility & contrast

On white

6.85
#8F2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2CA4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CA4#FFFFFF#000000##FFFFFF
##8F2CA41.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#8F4366
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ca4;
/* rgb */ color: rgb(143, 44, 164);
/* oklch */ color: oklch(49.4% 0.194 320.0);
Tailwind
colors: {
  custom: {
    50: '#b36fc0',
    500: '#8f2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca4;
$custom-light: #b36fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca4",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 289.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.19443,
    "h": 320
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#8F2CA4
secondary
#7AC06B
accent
#E14762
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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