#8A33E2#8A33E2

#8A33E2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.0% C 0.243 H 300.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A33E2
RGBrgb(138, 51, 226)
HSLhsl(270, 75%, 54%)
HSVhsv(270, 77%, 89%)
CMYKcmyk(38.9%, 77.4%, 0%, 11.4%)
CIE-LABlab(43.15, 67.03, -73.18)
CIE-LCHlch(43.15, 99.24, 312.49°)
OKLaboklab(54.05% 0.1246 -0.2091)
OKLCHoklch(54.05% 0.243 300.8)
XYZxyz(25.3891, 13.2617, 73.1589)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33E2 #8BE233
analogous
#3334E2 #8A33E2 #E233E2
triadic
#8A33E2 #E28A33 #33E28A
tetradic
#8A33E2 #E23334 #8BE233 #33E2E2
square
#8A33E2 #E23334 #8BE233 #33E2E2
split-complementary
#8A33E2 #E2E233 #34E233
monochromatic
#4D1387 #6B1BBD #8A33E2 #A969EA #C79EF1

Accessibility & contrast

On white

5.75
#8A33E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A33E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33E2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33E2#FFFFFF#000000##FFFFFF
##8A33E21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#76628A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a33e2;
/* rgb */ color: rgb(138, 51, 226);
/* oklch */ color: oklch(54.0% 0.243 300.8);
Tailwind
colors: {
  custom: {
    50: '#b475ec',
    500: '#8a33e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a33e2;
$custom-light: #b475ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33e2",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 226
  },
  "hsl": {
    "h": 269.829,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.24342,
    "h": 300.8
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#8A33E2
secondary
#B9DE93
accent
#F23694
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A33E2

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

Preview Lab → · Contrast checker → · Palette generator →

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