#8C2FBE#8C2FBE

#8C2FBE is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.214 H 310.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8C2FBE
RGBrgb(140, 47, 190)
HSLhsl(279, 60%, 46%)
HSVhsv(279, 75%, 75%)
CMYKcmyk(26.3%, 75.3%, 0%, 25.5%)
CIE-LABlab(40.13, 60.95, -57.30)
CIE-LCHlch(40.13, 83.66, 316.76°)
OKLaboklab(51.12% 0.1388 -0.1624)
OKLCHoklch(51.12% 0.214 310.5)
XYZxyz(21.1242, 11.3267, 49.7787)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2FBE #61BE2F
analogous
#452FBE #8C2FBE #BE2FA9
triadic
#8C2FBE #BE8C2F #2FBE8C
tetradic
#8C2FBE #BE452F #61BE2F #2FA9BE
square
#8C2FBE #BE452F #61BE2F #2FA9BE
split-complementary
#8C2FBE #A9BE2F #2FBE45
monochromatic
#44175C #68238D #8C2FBE #A855D5 #C186E1

Accessibility & contrast

On white

6.43
#8C2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8C2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2FBE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2FBE#FFFFFF#000000##FFFFFF
##8C2FBE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0B60BB
Tritanopia (blue-blind)
#855175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c2fbe;
/* rgb */ color: rgb(140, 47, 190);
/* oklch */ color: oklch(51.1% 0.214 310.5);
Tailwind
colors: {
  custom: {
    50: '#b271d2',
    500: '#8c2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8c2fbe;
$custom-light: #b271d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2fbe",
  "rgb": {
    "r": 140,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 279.021,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.21364,
    "h": 310.5
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#8C2FBE
secondary
#99CB7E
accent
#E3447C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8C2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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