#8F52BF#8F52BF

#8F52BF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.169 H 307.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F52BF
RGBrgb(143, 82, 191)
HSLhsl(274, 46%, 54%)
HSVhsv(274, 57%, 75%)
CMYKcmyk(25.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(46.49, 45.55, -47.62)
CIE-LCHlch(46.49, 65.90, 313.72°)
OKLaboklab(55.81% 0.1034 -0.134)
OKLCHoklch(55.81% 0.169 307.6)
XYZxyz(23.7470, 15.6361, 51.0472)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52BF #82BF52
analogous
#5852BF #8F52BF #BF52B8
triadic
#8F52BF #BF8F52 #52BF8F
tetradic
#8F52BF #BF5852 #82BF52 #52B8BF
square
#8F52BF #BF5852 #82BF52 #52B8BF
split-complementary
#8F52BF #B8BF52 #52BF58
monochromatic
#4F296E #70399B #8F52BF #AC7FD0 #C9ABE0

Accessibility & contrast

On white

5.09
#8F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8F52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52BF#FFFFFF#000000##FFFFFF
##8F52BF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#426FBC
Tritanopia (blue-blind)
#886681
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f52bf;
/* rgb */ color: rgb(143, 82, 191);
/* oklch */ color: oklch(55.8% 0.169 307.6);
Tailwind
colors: {
  custom: {
    50: '#b385d3',
    500: '#8f52bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f52bf;
$custom-light: #b385d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52bf",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 273.578,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.16929,
    "h": 307.6
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#8F52BF
secondary
#B4CE9F
accent
#D6528C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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