#8B33CA#8B33CA

#8B33CA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.221 H 306.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8B33CA
RGBrgb(139, 51, 202)
HSLhsl(275, 60%, 50%)
HSVhsv(275, 75%, 79%)
CMYKcmyk(31.2%, 74.8%, 0%, 20.8%)
CIE-LABlab(41.41, 61.81, -62.23)
CIE-LCHlch(41.41, 87.71, 314.81°)
OKLaboklab(52.27% 0.1316 -0.1769)
OKLCHoklch(52.27% 0.221 306.6)
XYZxyz(22.4896, 12.1211, 57.0205)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33CA #72CA33
analogous
#4033CA #8B33CA #CA33BE
triadic
#8B33CA #CA8B33 #33CA8B
tetradic
#8B33CA #CA4033 #72CA33 #33BECA
square
#8B33CA #CA4033 #72CA33 #33BECA
split-complementary
#8B33CA #BECA33 #33CA40
monochromatic
#481A68 #692799 #8B33CA #A763D8 #C294E4

Accessibility & contrast

On white

6.13
#8B33CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B33CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33CA#FFFFFF#000000##FFFFFF
##8B33CA1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b33ca;
/* rgb */ color: rgb(139, 51, 202);
/* oklch */ color: oklch(52.3% 0.221 306.6);
Tailwind
colors: {
  custom: {
    50: '#b274db',
    500: '#8b33ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b33ca;
$custom-light: #b274db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33ca",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 274.967,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.2205,
    "h": 306.6
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#8B33CA
secondary
#A7CF8A
accent
#E34587
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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