#8B33D2#8B33D2

#8B33D2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.9% C 0.228 H 304.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8B33D2
RGBrgb(139, 51, 210)
HSLhsl(273, 64%, 51%)
HSVhsv(273, 76%, 82%)
CMYKcmyk(33.8%, 75.7%, 0%, 17.6%)
CIE-LABlab(42.02, 63.58, -65.87)
CIE-LCHlch(42.02, 91.55, 313.99°)
OKLaboklab(52.89% 0.1299 -0.1876)
OKLCHoklch(52.89% 0.228 304.7)
XYZxyz(23.4615, 12.5099, 62.1389)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B33D2 #7AD233
analogous
#3B33D2 #8B33D2 #D233C9
triadic
#8B33D2 #D28B33 #33D28B
tetradic
#8B33D2 #D23B33 #7AD233 #33C9D2
square
#8B33D2 #D23B33 #7AD233 #33C9D2
split-complementary
#8B33D2 #C9D233 #33D23B
monochromatic
#4A1972 #6B24A4 #8B33D2 #A865DD #C497E8

Accessibility & contrast

On white

6.00
#8B33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8B33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B33D2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B33D2#FFFFFF#000000##FFFFFF
##8B33D21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b33d2;
/* rgb */ color: rgb(139, 51, 210);
/* oklch */ color: oklch(52.9% 0.228 304.7);
Tailwind
colors: {
  custom: {
    50: '#b374e1',
    500: '#8b33d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b33d2;
$custom-light: #b374e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b33d2",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 273.208,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.2282,
    "h": 304.7
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#8B33D2
secondary
#ADD48D
accent
#E7418B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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