#8F3DAF#8F3DAF

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

Color values

HEX#8F3DAF
RGBrgb(143, 61, 175)
HSLhsl(283, 48%, 46%)
HSVhsv(283, 65%, 69%)
CMYKcmyk(18.3%, 65.1%, 0%, 31.4%)
CIE-LABlab(41.65, 52.51, -46.00)
CIE-LCHlch(41.65, 69.80, 318.78°)
OKLaboklab(51.97% 0.1297 -0.1292)
OKLCHoklch(51.97% 0.183 315.1)
XYZxyz(20.7331, 12.2730, 41.8259)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DAF #5DAF3D
analogous
#563DAF #8F3DAF #AF3D96
triadic
#8F3DAF #AF8F3D #3DAF8F
tetradic
#8F3DAF #AF563D #5DAF3D #3D96AF
square
#8F3DAF #AF563D #5DAF3D #3D96AF
split-complementary
#8F3DAF #96AF3D #3DAF56
monochromatic
#451D54 #6A2D82 #8F3DAF #AB61C8 #C38FD8

Accessibility & contrast

On white

6.08
#8F3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3DAF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DAF#FFFFFF#000000##FFFFFF
##8F3DAF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5DB2
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#8D5271
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f3daf;
/* rgb */ color: rgb(143, 61, 175);
/* oklch */ color: oklch(52.0% 0.183 315.1);
Tailwind
colors: {
  custom: {
    50: '#b378c7',
    500: '#8f3daf',
    950: '#000000',
  },
}
SCSS
$custom: #8f3daf;
$custom-light: #b378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3daf",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 283.158,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.18305,
    "h": 315.1
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#8F3DAF
secondary
#96C385
accent
#D85076
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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