#8C2ECF#8C2ECF

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

Color values

HEX#8C2ECF
RGBrgb(140, 46, 207)
HSLhsl(275, 64%, 50%)
HSVhsv(275, 78%, 81%)
CMYKcmyk(32.4%, 77.8%, 0%, 18.8%)
CIE-LABlab(41.27, 64.95, -65.34)
CIE-LCHlch(41.27, 92.13, 314.83°)
OKLaboklab(52.32% 0.1361 -0.186)
OKLCHoklch(52.32% 0.23 306.2)
XYZxyz(23.0522, 12.0347, 60.1279)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2ECF #71CF2E
analogous
#3C2ECF #8C2ECF #CF2EC2
triadic
#8C2ECF #CF8C2E #2ECF8C
tetradic
#8C2ECF #CF3C2E #71CF2E #2EC2CF
square
#8C2ECF #CF3C2E #71CF2E #2EC2CF
split-complementary
#8C2ECF #C2CF2E #2ECF3C
monochromatic
#48186B #6A239D #8C2ECF #A85FDB #C391E7

Accessibility & contrast

On white

6.16
#8C2ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8C2ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2ECF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2ECF#FFFFFF#000000##FFFFFF
##8C2ECF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#80587E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c2ecf;
/* rgb */ color: rgb(140, 46, 207);
/* oklch */ color: oklch(52.3% 0.230 306.2);
Tailwind
colors: {
  custom: {
    50: '#b472df',
    500: '#8c2ecf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ecf;
$custom-light: #b472df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ecf",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 275.031,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.23047,
    "h": 306.2
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#8C2ECF
secondary
#A6D188
accent
#E74186
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8C2ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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