#8C36CD#8C36CD

#8C36CD is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.220 H 306.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8C36CD
RGBrgb(140, 54, 205)
HSLhsl(274, 60%, 51%)
HSVhsv(274, 74%, 80%)
CMYKcmyk(31.7%, 73.7%, 0%, 19.6%)
CIE-LABlab(42.19, 61.45, -62.69)
CIE-LCHlch(42.19, 87.79, 314.43°)
OKLaboklab(52.92% 0.1297 -0.1783)
OKLCHoklch(52.92% 0.22 306)
XYZxyz(23.1514, 12.6218, 58.9624)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C36CD #77CD36
analogous
#4036CD #8C36CD #CD36C2
triadic
#8C36CD #CD8C36 #36CD8C
tetradic
#8C36CD #CD4036 #77CD36 #36C2CD
square
#8C36CD #CD4036 #77CD36 #36C2CD
split-complementary
#8C36CD #C2CD36 #36CD40
monochromatic
#4A1B6D #6B279E #8C36CD #A867D9 #C498E5

Accessibility & contrast

On white

5.96
#8C36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8C36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C36CD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C36CD#FFFFFF#000000##FFFFFF
##8C36CD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#805B7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c36cd;
/* rgb */ color: rgb(140, 54, 205);
/* oklch */ color: oklch(52.9% 0.220 306.0);
Tailwind
colors: {
  custom: {
    50: '#b375dd',
    500: '#8c36cd',
    950: '#000000',
  },
}
SCSS
$custom: #8c36cd;
$custom-light: #b375dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c36cd",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 274.172,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.22043,
    "h": 306
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#8C36CD
secondary
#ABD18E
accent
#E34489
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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