#8F38BF#8F38BF

#8F38BF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 310.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8F38BF
RGBrgb(143, 56, 191)
HSLhsl(279, 55%, 48%)
HSVhsv(279, 71%, 75%)
CMYKcmyk(25.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(41.89, 58.13, -55.01)
CIE-LCHlch(41.89, 80.03, 316.58°)
OKLaboklab(52.48% 0.1339 -0.1556)
OKLCHoklch(52.48% 0.205 310.7)
XYZxyz(22.1440, 12.4301, 50.5128)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38BF #68BF38
analogous
#4C38BF #8F38BF #BF38AB
triadic
#8F38BF #BF8F38 #38BF8F
tetradic
#8F38BF #BF4C38 #68BF38 #38ABBF
square
#8F38BF #BF4C38 #68BF38 #38ABBF
split-complementary
#8F38BF #ABBF38 #38BF4C
monochromatic
#481C60 #6C2A90 #8F38BF #AA63D1 #C492DF

Accessibility & contrast

On white

6.02
#8F38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8F38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38BF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38BF#FFFFFF#000000##FFFFFF
##8F38BF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#895678
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f38bf;
/* rgb */ color: rgb(143, 56, 191);
/* oklch */ color: oklch(52.5% 0.205 310.7);
Tailwind
colors: {
  custom: {
    50: '#b476d3',
    500: '#8f38bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f38bf;
$custom-light: #b476d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38bf",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 278.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.2053,
    "h": 310.7
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#8F38BF
secondary
#A0CA89
accent
#DE4A7E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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