#8F38BD#8F38BD

#8F38BD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.203 H 311.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8F38BD
RGBrgb(143, 56, 189)
HSLhsl(279, 54%, 48%)
HSVhsv(279, 70%, 74%)
CMYKcmyk(24.3%, 70.4%, 0%, 25.9%)
CIE-LABlab(41.76, 57.70, -54.06)
CIE-LCHlch(41.76, 79.07, 316.86°)
OKLaboklab(52.34% 0.1342 -0.1528)
OKLCHoklch(52.34% 0.203 311.3)
XYZxyz(21.9254, 12.3427, 49.3616)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38BD #66BD38
analogous
#4C38BD #8F38BD #BD38A8
triadic
#8F38BD #BD8F38 #38BD8F
tetradic
#8F38BD #BD4C38 #66BD38 #38A8BD
square
#8F38BD #BD4C38 #66BD38 #38A8BD
split-complementary
#8F38BD #A8BD38 #38BD4C
monochromatic
#481C5F #6B2A8E #8F38BD #AA62D0 #C491DE

Accessibility & contrast

On white

6.05
#8F38BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8F38BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38BD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38BD#FFFFFF#000000##FFFFFF
##8F38BD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#895577
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f38bd;
/* rgb */ color: rgb(143, 56, 189);
/* oklch */ color: oklch(52.3% 0.203 311.3);
Tailwind
colors: {
  custom: {
    50: '#b476d2',
    500: '#8f38bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f38bd;
$custom-light: #b476d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38bd",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 279.248,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.20335,
    "h": 311.3
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#8F38BD
secondary
#9EC987
accent
#DE4A7D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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