#8C3ECF#8C3ECF

#8C3ECF is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.213 H 304.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8C3ECF
RGBrgb(140, 62, 207)
HSLhsl(272, 60%, 53%)
HSVhsv(272, 70%, 81%)
CMYKcmyk(32.4%, 70%, 0%, 18.8%)
CIE-LABlab(43.55, 58.48, -61.65)
CIE-LCHlch(43.55, 84.97, 313.49°)
OKLaboklab(53.93% 0.1216 -0.1752)
OKLCHoklch(53.93% 0.213 304.8)
XYZxyz(23.7978, 13.5258, 60.3764)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ECF #81CF3E
analogous
#433ECF #8C3ECF #CF3EC9
triadic
#8C3ECF #CF8C3E #3ECF8C
tetradic
#8C3ECF #CF433E #81CF3E #3EC9CF
square
#8C3ECF #CF433E #81CF3E #3EC9CF
split-complementary
#8C3ECF #C9CF3E #3ECF43
monochromatic
#4D1D75 #6D29A6 #8C3ECF #A96FDB #C6A0E7

Accessibility & contrast

On white

5.67
#8C3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8C3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3ECF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ECF#FFFFFF#000000##FFFFFF
##8C3ECF1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#7F6082
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c3ecf;
/* rgb */ color: rgb(140, 62, 207);
/* oklch */ color: oklch(53.9% 0.213 304.8);
Tailwind
colors: {
  custom: {
    50: '#b379df',
    500: '#8c3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ecf;
$custom-light: #b379df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ecf",
  "rgb": {
    "r": 140,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 272.276,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.21329,
    "h": 304.8
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#8C3ECF
secondary
#B2D495
accent
#E3448E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8C3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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