#8F38BC#8F38BC

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

Color values

HEX#8F38BC
RGBrgb(143, 56, 188)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 74%)
CMYKcmyk(23.9%, 70.2%, 0%, 26.3%)
CIE-LABlab(41.69, 57.49, -53.59)
CIE-LCHlch(41.69, 78.59, 317.01°)
OKLaboklab(52.27% 0.1343 -0.1514)
OKLCHoklch(52.27% 0.202 311.6)
XYZxyz(21.8173, 12.2994, 48.7919)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38BC #65BC38
analogous
#4D38BC #8F38BC #BC38A7
triadic
#8F38BC #BC8F38 #38BC8F
tetradic
#8F38BC #BC4D38 #65BC38 #38A7BC
square
#8F38BC #BC4D38 #65BC38 #38A7BC
split-complementary
#8F38BC #A7BC38 #38BC4D
monochromatic
#471C5E #6B2A8D #8F38BC #AA61D0 #C490DE

Accessibility & contrast

On white

6.07
#8F38BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F38BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38BC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38BC#FFFFFF#000000##FFFFFF
##8F38BC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#895476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f38bc;
/* rgb */ color: rgb(143, 56, 188);
/* oklch */ color: oklch(52.3% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#b476d1',
    500: '#8f38bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f38bc;
$custom-light: #b476d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38bc",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 279.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.20238,
    "h": 311.6
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#8F38BC
secondary
#9DC987
accent
#DD4A7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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