#8C3CC3#8C3CC3

#8C3CC3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.203 H 308.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8C3CC3
RGBrgb(140, 60, 195)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 69%, 76%)
CMYKcmyk(28.2%, 69.2%, 0%, 23.5%)
CIE-LABlab(42.38, 56.65, -56.58)
CIE-LCHlch(42.38, 80.06, 315.04°)
OKLaboklab(52.83% 0.1253 -0.1603)
OKLCHoklch(52.83% 0.203 308)
XYZxyz(22.2794, 12.7476, 52.9060)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3CC3 #73C33C
analogous
#493CC3 #8C3CC3 #C33CB6
triadic
#8C3CC3 #C38C3C #3CC38C
tetradic
#8C3CC3 #C3493C #73C33C #3CB6C3
square
#8C3CC3 #C3493C #73C33C #3CB6C3
split-complementary
#8C3CC3 #B6C33C #3CC349
monochromatic
#491F65 #6A2E94 #8C3CC3 #A86BD1 #C39AE0

Accessibility & contrast

On white

5.92
#8C3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8C3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3CC3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3CC3#FFFFFF#000000##FFFFFF
##8C3CC31.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1B65C0
Tritanopia (blue-blind)
#835A7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3cc3;
/* rgb */ color: rgb(140, 60, 195);
/* oklch */ color: oklch(52.8% 0.203 308.0);
Tailwind
colors: {
  custom: {
    50: '#b278d6',
    500: '#8c3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8c3cc3;
$custom-light: #b278d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3cc3",
  "rgb": {
    "r": 140,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 275.556,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.20349,
    "h": 308
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#8C3CC3
secondary
#A8CC8F
accent
#DC4B86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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