#8F3EB4#8F3EB4

#8F3EB4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.187 H 313.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8F3EB4
RGBrgb(143, 62, 180)
HSLhsl(281, 49%, 47%)
HSVhsv(281, 66%, 71%)
CMYKcmyk(20.6%, 65.6%, 0%, 29.4%)
CIE-LABlab(42.12, 53.11, -48.18)
CIE-LCHlch(42.12, 71.71, 317.78°)
OKLaboklab(52.42% 0.1283 -0.1356)
OKLCHoklch(52.42% 0.187 313.4)
XYZxyz(21.2871, 12.5808, 44.4782)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EB4 #63B43E
analogous
#543EB4 #8F3EB4 #B43E9E
triadic
#8F3EB4 #B48F3E #3EB48F
tetradic
#8F3EB4 #B4543E #63B43E #3E9EB4
square
#8F3EB4 #B4543E #63B43E #3E9EB4
split-complementary
#8F3EB4 #9EB43E #3EB454
monochromatic
#471F59 #6B2E86 #8F3EB4 #AA65CA #C393DA

Accessibility & contrast

On white

5.97
#8F3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8F3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EB4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EB4#FFFFFF#000000##FFFFFF
##8F3EB41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#8B5574
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3eb4;
/* rgb */ color: rgb(143, 62, 180);
/* oklch */ color: oklch(52.4% 0.187 313.4);
Tailwind
colors: {
  custom: {
    50: '#b379cb',
    500: '#8f3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3eb4;
$custom-light: #b379cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3eb4",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 281.186,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.18668,
    "h": 313.4
  },
  "luminance": 0.1258
}

Semantic roles & 50–950 ramp

primary
#8F3EB4
secondary
#9CC589
accent
#D84F7A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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