#8C33D2#8C33D2

#8C33D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.0% C 0.228 H 305.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8C33D2
RGBrgb(140, 51, 210)
HSLhsl(274, 64%, 51%)
HSVhsv(274, 76%, 82%)
CMYKcmyk(33.3%, 75.7%, 0%, 17.6%)
CIE-LABlab(42.15, 63.75, -65.64)
CIE-LCHlch(42.15, 91.51, 314.16°)
OKLaboklab(53.01% 0.1313 -0.1869)
OKLCHoklch(53.01% 0.228 305.1)
XYZxyz(23.6293, 12.5964, 62.1468)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C33D2 #79D233
analogous
#3C33D2 #8C33D2 #D233C8
triadic
#8C33D2 #D28C33 #33D28C
tetradic
#8C33D2 #D23C33 #79D233 #33C8D2
square
#8C33D2 #D23C33 #79D233 #33C8D2
split-complementary
#8C33D2 #C8D233 #33D23C
monochromatic
#4B1972 #6C24A4 #8C33D2 #A865DD #C597E8

Accessibility & contrast

On white

5.97
#8C33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C33D2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C33D2#FFFFFF#000000##FFFFFF
##8C33D21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#7F5B81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c33d2;
/* rgb */ color: rgb(140, 51, 210);
/* oklch */ color: oklch(53.0% 0.228 305.1);
Tailwind
colors: {
  custom: {
    50: '#b474e1',
    500: '#8c33d2',
    950: '#000000',
  },
}
SCSS
$custom: #8c33d2;
$custom-light: #b474e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c33d2",
  "rgb": {
    "r": 140,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 273.585,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.22841,
    "h": 305.1
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#8C33D2
secondary
#ACD48D
accent
#E7418A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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