#8C2BD0#8C2BD0

#8C2BD0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.1% C 0.234 H 306.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8C2BD0
RGBrgb(140, 43, 208)
HSLhsl(275, 66%, 49%)
HSVhsv(275, 79%, 82%)
CMYKcmyk(32.7%, 79.3%, 0%, 18.4%)
CIE-LABlab(40.99, 66.22, -66.38)
CIE-LCHlch(40.99, 93.76, 314.93°)
OKLaboklab(52.15% 0.1382 -0.189)
OKLCHoklch(52.15% 0.234 306.2)
XYZxyz(23.0617, 11.8575, 60.7361)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2BD0 #6FD02B
analogous
#3A2BD0 #8C2BD0 #D02BC2
triadic
#8C2BD0 #D08C2B #2BD08C
tetradic
#8C2BD0 #D03A2B #6FD02B #2BC2D0
square
#8C2BD0 #D03A2B #6FD02B #2BC2D0
split-complementary
#8C2BD0 #C2D02B #2BD03A
monochromatic
#48166B #6A219D #8C2BD0 #A85BDD #C38EE8

Accessibility & contrast

On white

6.23
#8C2BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8C2BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2BD0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2BD0#FFFFFF#000000##FFFFFF
##8C2BD01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#80577E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c2bd0;
/* rgb */ color: rgb(140, 43, 208);
/* oklch */ color: oklch(52.1% 0.234 306.2);
Tailwind
colors: {
  custom: {
    50: '#b470df',
    500: '#8c2bd0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2bd0;
$custom-light: #b470df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2bd0",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 208
  },
  "hsl": {
    "h": 275.273,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.23415,
    "h": 306.2
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#8C2BD0
secondary
#A5D285
accent
#E93F85
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8C2BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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