#8C52CF#8C52CF

#8C52CF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.187 H 302.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8C52CF
RGBrgb(140, 82, 207)
HSLhsl(268, 57%, 57%)
HSVhsv(268, 60%, 81%)
CMYKcmyk(32.4%, 60.4%, 0%, 18.8%)
CIE-LABlab(47.13, 48.66, -55.86)
CIE-LCHlch(47.13, 74.09, 311.06°)
OKLaboklab(56.5% 0.0994 -0.1583)
OKLCHoklch(56.5% 0.187 302.1)
XYZxyz(25.0924, 16.1150, 60.8079)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C52CF #95CF52
analogous
#5257CF #8C52CF #CB52CF
triadic
#8C52CF #CF8C52 #52CF8C
tetradic
#8C52CF #CF5257 #95CF52 #52CFCB
square
#8C52CF #CF5257 #95CF52 #52CFCB
split-complementary
#8C52CF #CFCB52 #57CF52
monochromatic
#502482 #6D31B2 #8C52CF #AC82DC #CCB2EA

Accessibility & contrast

On white

4.97
#8C52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8C52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C52CF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C52CF#FFFFFF#000000##FFFFFF
##8C52CF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036FD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#7F6C89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8c52cf;
/* rgb */ color: rgb(140, 82, 207);
/* oklch */ color: oklch(56.5% 0.187 302.1);
Tailwind
colors: {
  custom: {
    50: '#b285de',
    500: '#8c52cf',
    950: '#000000',
  },
}
SCSS
$custom: #8c52cf;
$custom-light: #b285de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c52cf",
  "rgb": {
    "r": 140,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 267.84,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.18696,
    "h": 302.1
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#8C52CF
secondary
#C0D8A5
accent
#E04899
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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