#8F52BD#8F52BD

#8F52BD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.167 H 308.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F52BD
RGBrgb(143, 82, 189)
HSLhsl(274, 45%, 53%)
HSVhsv(274, 57%, 74%)
CMYKcmyk(24.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(46.38, 45.08, -46.65)
CIE-LCHlch(46.38, 64.87, 314.02°)
OKLaboklab(55.68% 0.1033 -0.1312)
OKLCHoklch(55.68% 0.167 308.2)
XYZxyz(23.5285, 15.5487, 49.8960)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52BD #80BD52
analogous
#5952BD #8F52BD #BD52B5
triadic
#8F52BD #BD8F52 #52BD8F
tetradic
#8F52BD #BD5952 #80BD52 #52B5BD
square
#8F52BD #BD5952 #80BD52 #52B5BD
split-complementary
#8F52BD #B5BD52 #52BD59
monochromatic
#4F296C #6F3A98 #8F52BD #AC7ECE #C8ABDF

Accessibility & contrast

On white

5.11
#8F52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52BD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52BD#FFFFFF#000000##FFFFFF
##8F52BD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#886680
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f52bd;
/* rgb */ color: rgb(143, 82, 189);
/* oklch */ color: oklch(55.7% 0.167 308.2);
Tailwind
colors: {
  custom: {
    50: '#b385d1',
    500: '#8f52bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f52bd;
$custom-light: #b385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52bd",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 274.206,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.167,
    "h": 308.2
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#8F52BD
secondary
#B2CC9E
accent
#D4538B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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