#8C33E2#8C33E2

#8C33E2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.3% C 0.244 H 301.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8C33E2
RGBrgb(140, 51, 226)
HSLhsl(271, 75%, 54%)
HSVhsv(271, 77%, 89%)
CMYKcmyk(38.1%, 77.4%, 0%, 11.4%)
CIE-LABlab(43.41, 67.34, -72.75)
CIE-LCHlch(43.41, 99.14, 312.79°)
OKLaboklab(54.28% 0.1274 -0.2078)
OKLCHoklch(54.28% 0.244 301.5)
XYZxyz(25.7232, 13.4339, 73.1746)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C33E2 #89E233
analogous
#3533E2 #8C33E2 #E233E1
triadic
#8C33E2 #E28C33 #33E28C
tetradic
#8C33E2 #E23533 #89E233 #33E1E2
square
#8C33E2 #E23533 #89E233 #33E1E2
split-complementary
#8C33E2 #E1E233 #33E235
monochromatic
#4E1387 #6D1BBD #8C33E2 #AA69EA #C89EF1

Accessibility & contrast

On white

5.70
#8C33E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8C33E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C33E2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C33E2#FFFFFF#000000##FFFFFF
##8C33E21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#79628A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c33e2;
/* rgb */ color: rgb(140, 51, 226);
/* oklch */ color: oklch(54.3% 0.244 301.5);
Tailwind
colors: {
  custom: {
    50: '#b575ec',
    500: '#8c33e2',
    950: '#000000',
  },
}
SCSS
$custom: #8c33e2;
$custom-light: #b575ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8c33e2",
  "rgb": {
    "r": 140,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 270.514,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.24374,
    "h": 301.5
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#8C33E2
secondary
#B8DE93
accent
#F23692
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C33E2

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

Preview Lab → · Contrast checker → · Palette generator →

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