#8C2EBD#8C2EBD

#8C2EBD is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.214 H 310.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8C2EBD
RGBrgb(140, 46, 189)
HSLhsl(279, 61%, 46%)
HSVhsv(279, 76%, 74%)
CMYKcmyk(25.9%, 75.7%, 0%, 25.9%)
CIE-LABlab(39.92, 61.11, -57.05)
CIE-LCHlch(39.92, 83.60, 316.97°)
OKLaboklab(50.95% 0.1399 -0.1616)
OKLCHoklch(50.95% 0.214 310.9)
XYZxyz(20.9758, 11.2041, 49.1919)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2EBD #5FBD2E
analogous
#452EBD #8C2EBD #BD2EA6
triadic
#8C2EBD #BD8C2E #2EBD8C
tetradic
#8C2EBD #BD452E #5FBD2E #2EA6BD
square
#8C2EBD #BD452E #5FBD2E #2EA6BD
split-complementary
#8C2EBD #A6BD2E #2EBD45
monochromatic
#43165B #68228C #8C2EBD #A953D5 #C184E1

Accessibility & contrast

On white

6.48
#8C2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8C2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2EBD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2EBD#FFFFFF#000000##FFFFFF
##8C2EBD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0C60BA
Tritanopia (blue-blind)
#855074
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8c2ebd;
/* rgb */ color: rgb(140, 46, 189);
/* oklch */ color: oklch(50.9% 0.214 310.9);
Tailwind
colors: {
  custom: {
    50: '#b271d2',
    500: '#8c2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ebd;
$custom-light: #b271d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ebd",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 279.441,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.21376,
    "h": 310.9
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#8C2EBD
secondary
#97CA7C
accent
#E4447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8C2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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