#8F38AF#8F38AF

#8F38AF is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.190 H 315.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8F38AF
RGBrgb(143, 56, 175)
HSLhsl(284, 52%, 45%)
HSVhsv(284, 68%, 69%)
CMYKcmyk(18.3%, 68%, 0%, 31.4%)
CIE-LABlab(40.84, 54.76, -47.29)
CIE-LCHlch(40.84, 72.35, 319.18°)
OKLaboklab(51.39% 0.1354 -0.1329)
OKLCHoklch(51.39% 0.19 315.5)
XYZxyz(20.4785, 11.7639, 41.7411)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F38AF #58AF38
analogous
#5438AF #8F38AF #AF3893
triadic
#8F38AF #AF8F38 #38AF8F
tetradic
#8F38AF #AF5438 #58AF38 #3893AF
square
#8F38AF #AF5438 #58AF38 #3893AF
split-complementary
#8F38AF #93AF38 #38AF54
monochromatic
#431A52 #692981 #8F38AF #AC5ACA #C388D9

Accessibility & contrast

On white

6.26
#8F38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F38AF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F38AF#FFFFFF#000000##FFFFFF
##8F38AF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#8D4F6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f38af;
/* rgb */ color: rgb(143, 56, 175);
/* oklch */ color: oklch(51.4% 0.190 315.5);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8f38af',
    950: '#000000',
  },
}
SCSS
$custom: #8f38af;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f38af",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 283.866,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.18978,
    "h": 315.5
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#8F38AF
secondary
#92C380
accent
#DB4D73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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