#8B33C7#8B33C7

#8B33C7 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.218 H 307.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8B33C7
RGBrgb(139, 51, 199)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 78%)
CMYKcmyk(30.2%, 74.4%, 0%, 22%)
CIE-LABlab(41.19, 61.15, -60.85)
CIE-LCHlch(41.19, 86.26, 315.14°)
OKLaboklab(52.04% 0.1322 -0.1728)
OKLCHoklch(52.04% 0.218 307.4)
XYZxyz(22.1379, 11.9804, 55.1680)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33C7 #6FC733
analogous
#4133C7 #8B33C7 #C733B9
triadic
#8B33C7 #C78B33 #33C78B
tetradic
#8B33C7 #C74133 #6FC733 #33B9C7
square
#8B33C7 #C74133 #6FC733 #33B9C7
split-complementary
#8B33C7 #B9C733 #33C741
monochromatic
#471A66 #692796 #8B33C7 #A761D6 #C291E3

Accessibility & contrast

On white

6.18
#8B33C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B33C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33C7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33C7#FFFFFF#000000##FFFFFF
##8B33C71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#81577B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b33c7;
/* rgb */ color: rgb(139, 51, 199);
/* oklch */ color: oklch(52.0% 0.218 307.4);
Tailwind
colors: {
  custom: {
    50: '#b273d9',
    500: '#8b33c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b33c7;
$custom-light: #b273d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33c7",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 275.676,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.21762,
    "h": 307.4
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#8B33C7
secondary
#A4CE88
accent
#E24585
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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