#8F3CB2#8F3CB2

#8F3CB2 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.0% C 0.187 H 314.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F3CB2
RGBrgb(143, 60, 178)
HSLhsl(282, 50%, 47%)
HSVhsv(282, 66%, 70%)
CMYKcmyk(19.7%, 66.3%, 0%, 30.2%)
CIE-LABlab(41.67, 53.60, -47.74)
CIE-LCHlch(41.67, 71.77, 318.31°)
OKLaboklab(52.05% 0.1307 -0.1343)
OKLCHoklch(52.05% 0.187 314.2)
XYZxyz(20.9781, 12.2864, 43.3773)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CB2 #5FB23C
analogous
#543CB2 #8F3CB2 #B23C9A
triadic
#8F3CB2 #B28F3C #3CB28F
tetradic
#8F3CB2 #B2543C #5FB23C #3C9AB2
square
#8F3CB2 #B2543C #5FB23C #3C9AB2
split-complementary
#8F3CB2 #9AB23C #3CB254
monochromatic
#451D56 #6A2D84 #8F3CB2 #AB61CA #C38FD9

Accessibility & contrast

On white

6.07
#8F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CB2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CB2#FFFFFF#000000##FFFFFF
##8F3CB21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#3764AF
Tritanopia (blue-blind)
#8C5372
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3cb2;
/* rgb */ color: rgb(143, 60, 178);
/* oklch */ color: oklch(52.0% 0.187 314.2);
Tailwind
colors: {
  custom: {
    50: '#b378ca',
    500: '#8f3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cb2;
$custom-light: #b378ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cb2",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 282.203,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.1874,
    "h": 314.2
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#8F3CB2
secondary
#98C486
accent
#D94F78
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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