#8C2FC0#8C2FC0

#8C2FC0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.215 H 310.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8C2FC0
RGBrgb(140, 47, 192)
HSLhsl(278, 61%, 47%)
HSVhsv(278, 76%, 75%)
CMYKcmyk(27.1%, 75.5%, 0%, 24.7%)
CIE-LABlab(40.27, 61.37, -58.24)
CIE-LCHlch(40.27, 84.61, 316.50°)
OKLaboklab(51.26% 0.1385 -0.1651)
OKLCHoklch(51.26% 0.216 310)
XYZxyz(21.3443, 11.4147, 50.9378)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2FC0 #63C02F
analogous
#442FC0 #8C2FC0 #C02FAB
triadic
#8C2FC0 #C08C2F #2FC08C
tetradic
#8C2FC0 #C0442F #63C02F #2FABC0
square
#8C2FC0 #C0442F #63C02F #2FABC0
split-complementary
#8C2FC0 #ABC02F #2FC044
monochromatic
#44175E #68238F #8C2FC0 #A856D6 #C188E2

Accessibility & contrast

On white

6.40
#8C2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8C2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2FC0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2FC0#FFFFFF#000000##FFFFFF
##8C2FC01.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#855276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c2fc0;
/* rgb */ color: rgb(140, 47, 192);
/* oklch */ color: oklch(51.3% 0.215 310.0);
Tailwind
colors: {
  custom: {
    50: '#b371d4',
    500: '#8c2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2fc0;
$custom-light: #b371d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2fc0",
  "rgb": {
    "r": 140,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 278.483,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.2155,
    "h": 310
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#8C2FC0
secondary
#9BCB7F
accent
#E4447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8C2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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