#8F2BA2#8F2BA2

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

Color values

HEX#8F2BA2
RGBrgb(143, 43, 162)
HSLhsl(290, 58%, 40%)
HSVhsv(290, 73%, 64%)
CMYKcmyk(11.7%, 73.5%, 0%, 36.5%)
CIE-LABlab(38.16, 57.43, -43.83)
CIE-LCHlch(38.16, 72.24, 322.65°)
OKLaboklab(49.21% 0.15 -0.1227)
OKLCHoklch(49.21% 0.194 320.7)
XYZxyz(18.7124, 10.1770, 35.1541)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BA2 #3EA22B
analogous
#532BA2 #8F2BA2 #A22B7A
triadic
#8F2BA2 #A28F2B #2BA28F
tetradic
#8F2BA2 #A2532B #3EA22B #2B7AA2
square
#8F2BA2 #A2532B #3EA22B #2B7AA2
split-complementary
#8F2BA2 #7AA22B #2BA253
monochromatic
#3A1141 #641E72 #8F2BA2 #B53ECC #C86FD9

Accessibility & contrast

On white

6.92
#8F2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F2BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BA2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BA2#FFFFFF#000000##FFFFFF
##8F2BA21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2ba2;
/* rgb */ color: rgb(143, 43, 162);
/* oklch */ color: oklch(49.2% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#b36fbe',
    500: '#8f2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ba2;
$custom-light: #b36fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ba2",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 290.42,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.19383,
    "h": 320.7
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#8F2BA2
secondary
#77C069
accent
#E1475F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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