#8D33E2#8D33E2

#8D33E2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.4% C 0.244 H 301.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8D33E2
RGBrgb(141, 51, 226)
HSLhsl(271, 75%, 54%)
HSVhsv(271, 77%, 89%)
CMYKcmyk(37.6%, 77.4%, 0%, 11.4%)
CIE-LABlab(43.54, 67.50, -72.54)
CIE-LCHlch(43.54, 99.08, 312.94°)
OKLaboklab(54.4% 0.1288 -0.2071)
OKLCHoklch(54.4% 0.244 301.9)
XYZxyz(25.8925, 13.5212, 73.1825)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33E2 #88E233
analogous
#3633E2 #8D33E2 #E233E0
triadic
#8D33E2 #E28D33 #33E28D
tetradic
#8D33E2 #E23633 #88E233 #33E0E2
square
#8D33E2 #E23633 #88E233 #33E0E2
split-complementary
#8D33E2 #E0E233 #33E236
monochromatic
#4F1387 #6E1BBD #8D33E2 #AB69EA #C99EF1

Accessibility & contrast

On white

5.67
#8D33E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8D33E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33E2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33E2#FFFFFF#000000##FFFFFF
##8D33E21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d33e2;
/* rgb */ color: rgb(141, 51, 226);
/* oklch */ color: oklch(54.4% 0.244 301.9);
Tailwind
colors: {
  custom: {
    50: '#b675ec',
    500: '#8d33e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d33e2;
$custom-light: #b675ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33e2",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 270.857,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.24391,
    "h": 301.9
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#8D33E2
secondary
#B7DE93
accent
#F23691
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D33E2

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

Preview Lab → · Contrast checker → · Palette generator →

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