#8C33CA#8C33CA

#8C33CA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.221 H 307.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8C33CA
RGBrgb(140, 51, 202)
HSLhsl(275, 60%, 50%)
HSVhsv(275, 75%, 79%)
CMYKcmyk(30.7%, 74.8%, 0%, 20.8%)
CIE-LABlab(41.54, 61.99, -62.00)
CIE-LCHlch(41.54, 87.67, 314.99°)
OKLaboklab(52.39% 0.133 -0.1762)
OKLCHoklch(52.39% 0.221 307)
XYZxyz(22.6574, 12.2076, 57.0284)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C33CA #71CA33
analogous
#4033CA #8C33CA #CA33BD
triadic
#8C33CA #CA8C33 #33CA8C
tetradic
#8C33CA #CA4033 #71CA33 #33BDCA
square
#8C33CA #CA4033 #71CA33 #33BDCA
split-complementary
#8C33CA #BDCA33 #33CA40
monochromatic
#481A68 #6A2799 #8C33CA #A863D8 #C394E4

Accessibility & contrast

On white

6.10
#8C33CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8C33CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C33CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C33CA#FFFFFF#000000##FFFFFF
##8C33CA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#81587D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c33ca;
/* rgb */ color: rgb(140, 51, 202);
/* oklch */ color: oklch(52.4% 0.221 307.0);
Tailwind
colors: {
  custom: {
    50: '#b374db',
    500: '#8c33ca',
    950: '#000000',
  },
}
SCSS
$custom: #8c33ca;
$custom-light: #b374db;
$custom-dark: #000000;
JSON
{
  "hex": "#8c33ca",
  "rgb": {
    "r": 140,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 275.364,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.22075,
    "h": 307
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#8C33CA
secondary
#A6CF8A
accent
#E34586
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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