#8F2CA3#8F2CA3

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

Color values

HEX#8F2CA3
RGBrgb(143, 44, 163)
HSLhsl(290, 57%, 41%)
HSVhsv(290, 73%, 64%)
CMYKcmyk(12.3%, 73%, 0%, 36.1%)
CIE-LABlab(38.35, 57.25, -44.12)
CIE-LCHlch(38.35, 72.28, 322.38°)
OKLaboklab(49.37% 0.149 -0.1236)
OKLCHoklch(49.37% 0.194 320.3)
XYZxyz(18.8384, 10.2863, 35.6364)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA3 #40A32C
analogous
#532CA3 #8F2CA3 #A32C7B
triadic
#8F2CA3 #A38F2C #2CA38F
tetradic
#8F2CA3 #A3532C #40A32C #2C7BA3
square
#8F2CA3 #A3532C #40A32C #2C7BA3
split-complementary
#8F2CA3 #7BA32C #2CA353
monochromatic
#3A1243 #651F73 #8F2CA3 #B441CC #C771D9

Accessibility & contrast

On white

6.87
#8F2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2CA3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CA3#FFFFFF#000000##FFFFFF
##8F2CA31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#904365
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ca3;
/* rgb */ color: rgb(143, 44, 163);
/* oklch */ color: oklch(49.4% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#b36fbf',
    500: '#8f2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca3;
$custom-light: #b36fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca3",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 289.916,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.19356,
    "h": 320.3
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#8F2CA3
secondary
#79C06B
accent
#E14761
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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