#8C2FBF#8C2FBF

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

Color values

HEX#8C2FBF
RGBrgb(140, 47, 191)
HSLhsl(279, 61%, 47%)
HSVhsv(279, 75%, 75%)
CMYKcmyk(26.7%, 75.4%, 0%, 25.1%)
CIE-LABlab(40.20, 61.16, -57.77)
CIE-LCHlch(40.20, 84.13, 316.63°)
OKLaboklab(51.19% 0.1387 -0.1637)
OKLCHoklch(51.19% 0.215 310.3)
XYZxyz(21.2339, 11.3705, 50.3563)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2FBF #62BF2F
analogous
#442FBF #8C2FBF #BF2FAA
triadic
#8C2FBF #BF8C2F #2FBF8C
tetradic
#8C2FBF #BF442F #62BF2F #2FAABF
square
#8C2FBF #BF442F #62BF2F #2FAABF
split-complementary
#8C2FBF #AABF2F #2FBF44
monochromatic
#44175D #68238E #8C2FBF #A856D5 #C187E1

Accessibility & contrast

On white

6.41
#8C2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C2FBF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2FBF#FFFFFF#000000##FFFFFF
##8C2FBF1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#855175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c2fbf;
/* rgb */ color: rgb(140, 47, 191);
/* oklch */ color: oklch(51.2% 0.215 310.3);
Tailwind
colors: {
  custom: {
    50: '#b271d3',
    500: '#8c2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2fbf;
$custom-light: #b271d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2fbf",
  "rgb": {
    "r": 140,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 278.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.21457,
    "h": 310.3
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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