#8C2EBF#8C2EBF

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

Color values

HEX#8C2EBF
RGBrgb(140, 46, 191)
HSLhsl(279, 61%, 46%)
HSVhsv(279, 76%, 75%)
CMYKcmyk(26.7%, 75.9%, 0%, 25.1%)
CIE-LABlab(40.07, 61.53, -57.98)
CIE-LCHlch(40.07, 84.55, 316.70°)
OKLaboklab(51.1% 0.1396 -0.1644)
OKLCHoklch(51.1% 0.216 310.3)
XYZxyz(21.1943, 11.2915, 50.3431)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2EBF #61BF2E
analogous
#442EBF #8C2EBF #BF2EAA
triadic
#8C2EBF #BF8C2E #2EBF8C
tetradic
#8C2EBF #BF442E #61BF2E #2EAABF
square
#8C2EBF #BF442E #61BF2E #2EAABF
split-complementary
#8C2EBF #AABF2E #2EBF44
monochromatic
#44165C #68228E #8C2EBF #A854D6 #C186E2

Accessibility & contrast

On white

6.45
#8C2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8C2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2EBF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2EBF#FFFFFF#000000##FFFFFF
##8C2EBF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c2ebf;
/* rgb */ color: rgb(140, 46, 191);
/* oklch */ color: oklch(51.1% 0.216 310.3);
Tailwind
colors: {
  custom: {
    50: '#b371d3',
    500: '#8c2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ebf;
$custom-light: #b371d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ebf",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 278.897,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.21562,
    "h": 310.3
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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