#8F3DAE#8F3DAE

#8F3DAE is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.182 H 315.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8F3DAE
RGBrgb(143, 61, 174)
HSLhsl(284, 48%, 46%)
HSVhsv(284, 65%, 68%)
CMYKcmyk(17.8%, 64.9%, 0%, 31.8%)
CIE-LABlab(41.59, 52.30, -45.50)
CIE-LCHlch(41.59, 69.32, 318.97°)
OKLaboklab(51.91% 0.1297 -0.1277)
OKLCHoklch(51.91% 0.182 315.4)
XYZxyz(20.6352, 12.2338, 41.3106)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DAE #5CAE3D
analogous
#563DAE #8F3DAE #AE3D94
triadic
#8F3DAE #AE8F3D #3DAE8F
tetradic
#8F3DAE #AE563D #5CAE3D #3D94AE
square
#8F3DAE #AE563D #5CAE3D #3D94AE
split-complementary
#8F3DAE #94AE3D #3DAE56
monochromatic
#451D53 #6A2D81 #8F3DAE #AB61C8 #C38ED7

Accessibility & contrast

On white

6.09
#8F3DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F3DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DAE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DAE#FFFFFF#000000##FFFFFF
##8F3DAE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#8D5270
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3dae;
/* rgb */ color: rgb(143, 61, 174);
/* oklch */ color: oklch(51.9% 0.182 315.4);
Tailwind
colors: {
  custom: {
    50: '#b378c7',
    500: '#8f3dae',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dae;
$custom-light: #b378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dae",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 283.54,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.18206,
    "h": 315.4
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#8F3DAE
secondary
#95C285
accent
#D85075
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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