#8C2DAF#8C2DAF

#8C2DAF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.202 H 315.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8C2DAF
RGBrgb(140, 45, 175)
HSLhsl(284, 59%, 43%)
HSVhsv(284, 74%, 69%)
CMYKcmyk(20%, 74.3%, 0%, 31.4%)
CIE-LABlab(38.81, 58.60, -50.58)
CIE-LCHlch(38.81, 77.41, 319.20°)
OKLaboklab(49.85% 0.143 -0.1426)
OKLCHoklch(49.85% 0.202 315.1)
XYZxyz(19.4902, 10.5481, 41.5584)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2DAF #50AF2D
analogous
#4B2DAF #8C2DAF #AF2D91
triadic
#8C2DAF #AF8C2D #2DAF8C
tetradic
#8C2DAF #AF4B2D #50AF2D #2D91AF
square
#8C2DAF #AF4B2D #50AF2D #2D91AF
split-complementary
#8C2DAF #91AF2D #2DAF4B
monochromatic
#3E144E #65207E #8C2DAF #AC49D0 #C27ADD

Accessibility & contrast

On white

6.75
#8C2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8C2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2DAF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2DAF#FFFFFF#000000##FFFFFF
##8C2DAF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#89496C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2daf;
/* rgb */ color: rgb(140, 45, 175);
/* oklch */ color: oklch(49.9% 0.202 315.1);
Tailwind
colors: {
  custom: {
    50: '#b270c8',
    500: '#8c2daf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2daf;
$custom-light: #b270c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2daf",
  "rgb": {
    "r": 140,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 283.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.20199,
    "h": 315.1
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#8C2DAF
secondary
#89C573
accent
#E24670
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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