#8F3DB2#8F3DB2

#8F3DB2 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.2% C 0.186 H 314.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8F3DB2
RGBrgb(143, 61, 178)
HSLhsl(282, 49%, 47%)
HSVhsv(282, 66%, 70%)
CMYKcmyk(19.7%, 65.7%, 0%, 30.2%)
CIE-LABlab(41.83, 53.14, -47.47)
CIE-LCHlch(41.83, 71.26, 318.23°)
OKLaboklab(52.16% 0.1296 -0.1335)
OKLCHoklch(52.16% 0.186 314.1)
XYZxyz(21.0310, 12.3921, 43.3949)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DB2 #60B23D
analogous
#543DB2 #8F3DB2 #B23D9B
triadic
#8F3DB2 #B28F3D #3DB28F
tetradic
#8F3DB2 #B2543D #60B23D #3D9BB2
square
#8F3DB2 #B2543D #60B23D #3D9BB2
split-complementary
#8F3DB2 #9BB23D #3DB254
monochromatic
#461E57 #6A2D84 #8F3DB2 #AB63C9 #C390D9

Accessibility & contrast

On white

6.04
#8F3DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F3DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DB2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DB2#FFFFFF#000000##FFFFFF
##8F3DB21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#8C5472
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3db2;
/* rgb */ color: rgb(143, 61, 178);
/* oklch */ color: oklch(52.2% 0.186 314.1);
Tailwind
colors: {
  custom: {
    50: '#b378ca',
    500: '#8f3db2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3db2;
$custom-light: #b378ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3db2",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 282.051,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.18604,
    "h": 314.1
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#8F3DB2
secondary
#99C487
accent
#D94F78
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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