#8F52D3#8F52D3

#8F52D3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.192 H 302.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8F52D3
RGBrgb(143, 82, 211)
HSLhsl(268, 59%, 57%)
HSVhsv(268, 61%, 83%)
CMYKcmyk(32.2%, 61.1%, 0%, 17.3%)
CIE-LABlab(47.72, 50.32, -57.18)
CIE-LCHlch(47.72, 76.17, 311.35°)
OKLaboklab(57.1% 0.1032 -0.1621)
OKLCHoklch(57.1% 0.192 302.5)
XYZxyz(26.1001, 16.5773, 63.4401)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52D3 #96D352
analogous
#5256D3 #8F52D3 #CF52D3
triadic
#8F52D3 #D38F52 #52D38F
tetradic
#8F52D3 #D35256 #96D352 #52D3CF
square
#8F52D3 #D35256 #96D352 #52D3CF
split-complementary
#8F52D3 #D3CF52 #56D352
monochromatic
#532388 #702FB9 #8F52D3 #AF83DF #CEB4EC

Accessibility & contrast

On white

4.87
#8F52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52D3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52D3#FFFFFF#000000##FFFFFF
##8F52D31.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#2C71D0
Tritanopia (blue-blind)
#826D8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f52d3;
/* rgb */ color: rgb(143, 82, 211);
/* oklch */ color: oklch(57.1% 0.192 302.5);
Tailwind
colors: {
  custom: {
    50: '#b486e1',
    500: '#8f52d3',
    950: '#000000',
  },
}
SCSS
$custom: #8f52d3;
$custom-light: #b486e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52d3",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 268.372,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.19216,
    "h": 302.5
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#8F52D3
secondary
#C2DAA6
accent
#E34598
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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