#8F38BB#8F38BB

#8F38BB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.201 H 311.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8F38BB
RGBrgb(143, 56, 187)
HSLhsl(280, 54%, 48%)
HSVhsv(280, 70%, 73%)
CMYKcmyk(23.5%, 70.1%, 0%, 26.7%)
CIE-LABlab(41.62, 57.27, -53.11)
CIE-LCHlch(41.62, 78.11, 317.16°)
OKLaboklab(52.2% 0.1344 -0.15)
OKLCHoklch(52.2% 0.201 311.9)
XYZxyz(21.7099, 12.2564, 48.2262)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38BB #64BB38
analogous
#4D38BB #8F38BB #BB38A6
triadic
#8F38BB #BB8F38 #38BB8F
tetradic
#8F38BB #BB4D38 #64BB38 #38A6BB
square
#8F38BB #BB4D38 #64BB38 #38A6BB
split-complementary
#8F38BB #A6BB38 #38BB4D
monochromatic
#471C5D #6B2A8C #8F38BB #AA61D0 #C390DE

Accessibility & contrast

On white

6.08
#8F38BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8F38BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38BB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38BB#FFFFFF#000000##FFFFFF
##8F38BB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2864B8
Tritanopia (blue-blind)
#8A5476
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f38bb;
/* rgb */ color: rgb(143, 56, 187);
/* oklch */ color: oklch(52.2% 0.201 311.9);
Tailwind
colors: {
  custom: {
    50: '#b476d0',
    500: '#8f38bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f38bb;
$custom-light: #b476d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38bb",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 279.847,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.2014,
    "h": 311.9
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#8F38BB
secondary
#9DC886
accent
#DD4B7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #8F38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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