#8F38B8#8F38B8

#8F38B8 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.199 H 312.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F38B8
RGBrgb(143, 56, 184)
HSLhsl(281, 53%, 47%)
HSVhsv(281, 70%, 72%)
CMYKcmyk(22.3%, 69.6%, 0%, 27.8%)
CIE-LABlab(41.42, 56.64, -51.67)
CIE-LCHlch(41.42, 76.66, 317.63°)
OKLaboklab(51.99% 0.1347 -0.1458)
OKLCHoklch(51.99% 0.199 312.7)
XYZxyz(21.3921, 12.1293, 46.5524)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38B8 #61B838
analogous
#4F38B8 #8F38B8 #B838A1
triadic
#8F38B8 #B88F38 #38B88F
tetradic
#8F38B8 #B84F38 #61B838 #38A1B8
square
#8F38B8 #B84F38 #61B838 #38A1B8
split-complementary
#8F38B8 #A1B838 #38B84F
monochromatic
#461B5A #6B2A89 #8F38B8 #AB5FCE #C38EDD

Accessibility & contrast

On white

6.13
#8F38B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F38B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38B8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38B8#FFFFFF#000000##FFFFFF
##8F38B81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2C64B5
Tritanopia (blue-blind)
#8A5374
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f38b8;
/* rgb */ color: rgb(143, 56, 184);
/* oklch */ color: oklch(52.0% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#b476ce',
    500: '#8f38b8',
    950: '#000000',
  },
}
SCSS
$custom: #8f38b8;
$custom-light: #b476ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38b8",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 280.781,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.1985,
    "h": 312.7
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#8F38B8
secondary
#9AC785
accent
#DD4B7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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