#8C39CB#8C39CB

#8C39CB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.215 H 306.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8C39CB
RGBrgb(140, 57, 203)
HSLhsl(274, 58%, 51%)
HSVhsv(274, 72%, 80%)
CMYKcmyk(31%, 71.9%, 0%, 20.4%)
CIE-LABlab(42.48, 59.75, -61.06)
CIE-LCHlch(42.48, 85.43, 314.38°)
OKLaboklab(53.08% 0.1272 -0.1735)
OKLCHoklch(53.08% 0.215 306.2)
XYZxyz(23.0555, 12.8137, 57.7470)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C39CB #78CB39
analogous
#4339CB #8C39CB #CB39C1
triadic
#8C39CB #CB8C39 #39CB8C
tetradic
#8C39CB #CB4339 #78CB39 #39C1CB
square
#8C39CB #CB4339 #78CB39 #39C1CB
split-complementary
#8C39CB #C1CB39 #39CB43
monochromatic
#4A1D6D #6B299D #8C39CB #A869D8 #C49AE4

Accessibility & contrast

On white

5.89
#8C39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8C39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C39CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C39CB#FFFFFF#000000##FFFFFF
##8C39CB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#815B7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c39cb;
/* rgb */ color: rgb(140, 57, 203);
/* oklch */ color: oklch(53.1% 0.215 306.2);
Tailwind
colors: {
  custom: {
    50: '#b377dc',
    500: '#8c39cb',
    950: '#000000',
  },
}
SCSS
$custom: #8c39cb;
$custom-light: #b377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c39cb",
  "rgb": {
    "r": 140,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 274.11,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53078,
    "c": 0.21511,
    "h": 306.2
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#8C39CB
secondary
#ABD090
accent
#E24689
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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