#8F2BB0#8F2BB0

#8F2BB0 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.206 H 316.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8F2BB0
RGBrgb(143, 43, 176)
HSLhsl(285, 61%, 43%)
HSVhsv(285, 76%, 69%)
CMYKcmyk(18.7%, 75.6%, 0%, 31%)
CIE-LABlab(39.08, 60.13, -50.72)
CIE-LCHlch(39.08, 78.67, 319.85°)
OKLaboklab(50.15% 0.1485 -0.1429)
OKLCHoklch(50.15% 0.206 316.1)
XYZxyz(20.0268, 10.7028, 42.0768)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BB0 #4CB02B
analogous
#4C2BB0 #8F2BB0 #B02B8E
triadic
#8F2BB0 #B08F2B #2BB08F
tetradic
#8F2BB0 #B04C2B #4CB02B #2B8EB0
square
#8F2BB0 #B04C2B #4CB02B #2B8EB0
split-complementary
#8F2BB0 #8EB02B #2BB04C
monochromatic
#3F134E #671F7F #8F2BB0 #AF46D2 #C478DE

Accessibility & contrast

On white

6.69
#8F2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F2BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BB0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BB0#FFFFFF#000000##FFFFFF
##8F2BB01.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#8D486C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2bb0;
/* rgb */ color: rgb(143, 43, 176);
/* oklch */ color: oklch(50.2% 0.206 316.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc8',
    500: '#8f2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bb0;
$custom-light: #b46fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bb0",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 285.113,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.20613,
    "h": 316.1
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#8F2BB0
secondary
#86C671
accent
#E4446C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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