#8F52D7#8F52D7

#8F52D7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.197 H 301.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F52D7
RGBrgb(143, 82, 215)
HSLhsl(268, 62%, 58%)
HSVhsv(268, 62%, 84%)
CMYKcmyk(33.5%, 61.9%, 0%, 15.7%)
CIE-LABlab(47.98, 51.30, -59.04)
CIE-LCHlch(47.98, 78.22, 310.98°)
OKLaboklab(57.37% 0.103 -0.1676)
OKLCHoklch(57.37% 0.197 301.6)
XYZxyz(26.6078, 16.7804, 66.1140)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52D7 #9AD752
analogous
#5257D7 #8F52D7 #D152D7
triadic
#8F52D7 #D78F52 #52D78F
tetradic
#8F52D7 #D75257 #9AD752 #52D7D1
square
#8F52D7 #D75257 #9AD752 #52D7D1
split-complementary
#8F52D7 #D7D152 #57D752
monochromatic
#53218E #702CC0 #8F52D7 #AF84E2 #CFB5EE

Accessibility & contrast

On white

4.82
#8F52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F52D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52D7#FFFFFF#000000##FFFFFF
##8F52D71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2571D4
Tritanopia (blue-blind)
#806E8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f52d7;
/* rgb */ color: rgb(143, 82, 215);
/* oklch */ color: oklch(57.4% 0.197 301.6);
Tailwind
colors: {
  custom: {
    50: '#b486e4',
    500: '#8f52d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f52d7;
$custom-light: #b486e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52d7",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 267.519,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.1967,
    "h": 301.6
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#8F52D7
secondary
#C5DDA8
accent
#E6429B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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