#8F2CA2#8F2CA2

#8F2CA2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.193 H 320.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F2CA2
RGBrgb(143, 44, 162)
HSLhsl(290, 57%, 40%)
HSVhsv(290, 73%, 64%)
CMYKcmyk(11.7%, 72.8%, 0%, 36.5%)
CIE-LABlab(38.29, 57.06, -43.62)
CIE-LCHlch(38.29, 71.82, 322.60°)
OKLaboklab(49.3% 0.149 -0.1221)
OKLCHoklch(49.3% 0.193 320.7)
XYZxyz(18.7492, 10.2506, 35.1664)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2CA2 #3FA22C
analogous
#542CA2 #8F2CA2 #A22C7A
triadic
#8F2CA2 #A28F2C #2CA28F
tetradic
#8F2CA2 #A2542C #3FA22C #2C7AA2
square
#8F2CA2 #A2542C #3FA22C #2C7AA2
split-complementary
#8F2CA2 #7AA22C #2CA254
monochromatic
#3A1242 #651F72 #8F2CA2 #B540CB #C770D8

Accessibility & contrast

On white

6.89
#8F2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F2CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2CA2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2CA2#FFFFFF#000000##FFFFFF
##8F2CA21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#385E9F
Tritanopia (blue-blind)
#904264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2ca2;
/* rgb */ color: rgb(143, 44, 162);
/* oklch */ color: oklch(49.3% 0.193 320.7);
Tailwind
colors: {
  custom: {
    50: '#b36fbe',
    500: '#8f2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ca2;
$custom-light: #b36fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ca2",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 290.339,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.19268,
    "h": 320.7
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#8F2CA2
secondary
#78BF6A
accent
#E14760
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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