#8C2DD0#8C2DD0

#8C2DD0 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.232 H 306.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8C2DD0
RGBrgb(140, 45, 208)
HSLhsl(275, 64%, 50%)
HSVhsv(275, 78%, 82%)
CMYKcmyk(32.7%, 78.4%, 0%, 18.4%)
CIE-LABlab(41.23, 65.53, -65.99)
CIE-LCHlch(41.23, 93.00, 314.80°)
OKLaboklab(52.31% 0.1367 -0.1879)
OKLCHoklch(52.31% 0.232 306)
XYZxyz(23.1362, 12.0065, 60.7609)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2DD0 #71D02D
analogous
#3A2DD0 #8C2DD0 #D02DC3
triadic
#8C2DD0 #D08C2D #2DD08C
tetradic
#8C2DD0 #D03A2D #71D02D #2DC3D0
square
#8C2DD0 #D03A2D #71D02D #2DC3D0
split-complementary
#8C2DD0 #C3D02D #2DD03A
monochromatic
#48176B #6A229E #8C2DD0 #A85EDC #C390E7

Accessibility & contrast

On white

6.17
#8C2DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8C2DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2DD0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2DD0#FFFFFF#000000##FFFFFF
##8C2DD01.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#80587F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c2dd0;
/* rgb */ color: rgb(140, 45, 208);
/* oklch */ color: oklch(52.3% 0.232 306.0);
Tailwind
colors: {
  custom: {
    50: '#b471df',
    500: '#8c2dd0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2dd0;
$custom-light: #b471df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2dd0",
  "rgb": {
    "r": 140,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 274.969,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.23233,
    "h": 306
  },
  "luminance": 0.12006
}

Semantic roles & 50–950 ramp

primary
#8C2DD0
secondary
#A6D287
accent
#E74086
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8C2DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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