#8F38BA#8F38BA

#8F38BA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.1% C 0.200 H 312.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8F38BA
RGBrgb(143, 56, 186)
HSLhsl(280, 54%, 47%)
HSVhsv(280, 70%, 73%)
CMYKcmyk(23.1%, 69.9%, 0%, 27.1%)
CIE-LABlab(41.55, 57.06, -52.63)
CIE-LCHlch(41.55, 77.63, 317.31°)
OKLaboklab(52.13% 0.1345 -0.1486)
OKLCHoklch(52.13% 0.2 312.2)
XYZxyz(21.6032, 12.2137, 47.6643)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38BA #63BA38
analogous
#4E38BA #8F38BA #BA38A4
triadic
#8F38BA #BA8F38 #38BA8F
tetradic
#8F38BA #BA4E38 #63BA38 #38A4BA
square
#8F38BA #BA4E38 #63BA38 #38A4BA
split-complementary
#8F38BA #A4BA38 #38BA4E
monochromatic
#471C5C #6B2A8B #8F38BA #AA60CF #C38FDD

Accessibility & contrast

On white

6.10
#8F38BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F38BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38BA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38BA#FFFFFF#000000##FFFFFF
##8F38BA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#8A5475
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f38ba;
/* rgb */ color: rgb(143, 56, 186);
/* oklch */ color: oklch(52.1% 0.200 312.2);
Tailwind
colors: {
  custom: {
    50: '#b476cf',
    500: '#8f38ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f38ba;
$custom-light: #b476cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38ba",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 280.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.20044,
    "h": 312.2
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#8F38BA
secondary
#9CC886
accent
#DD4B7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F38BA

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

Preview Lab → · Contrast checker → · Palette generator →

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