#8C2DBF#8C2DBF

#8C2DBF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.217 H 310.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8C2DBF
RGBrgb(140, 45, 191)
HSLhsl(279, 62%, 46%)
HSVhsv(279, 76%, 75%)
CMYKcmyk(26.7%, 76.4%, 0%, 25.1%)
CIE-LABlab(39.94, 61.90, -58.19)
CIE-LCHlch(39.94, 84.96, 316.77°)
OKLaboklab(51.01% 0.1404 -0.165)
OKLCHoklch(51.01% 0.217 310.4)
XYZxyz(21.1557, 11.2143, 50.3302)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2DBF #60BF2D
analogous
#432DBF #8C2DBF #BF2DA9
triadic
#8C2DBF #BF8C2D #2DBF8C
tetradic
#8C2DBF #BF432D #60BF2D #2DA9BF
square
#8C2DBF #BF432D #60BF2D #2DA9BF
split-complementary
#8C2DBF #A9BF2D #2DBF43
monochromatic
#43165C #68218D #8C2DBF #A853D6 #C184E2

Accessibility & contrast

On white

6.48
#8C2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8C2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2DBF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2DBF#FFFFFF#000000##FFFFFF
##8C2DBF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#855075
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c2dbf;
/* rgb */ color: rgb(140, 45, 191);
/* oklch */ color: oklch(51.0% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#b370d3',
    500: '#8c2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2dbf;
$custom-light: #b370d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2dbf",
  "rgb": {
    "r": 140,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 279.041,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.21664,
    "h": 310.4
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#8C2DBF
secondary
#98CB7C
accent
#E5437B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8C2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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