#8A33BD#8A33BD

#8A33BD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.208 H 309.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A33BD
RGBrgb(138, 51, 189)
HSLhsl(278, 58%, 47%)
HSVhsv(278, 73%, 74%)
CMYKcmyk(27%, 73%, 0%, 25.9%)
CIE-LABlab(40.32, 58.78, -56.41)
CIE-LCHlch(40.32, 81.47, 316.18°)
OKLaboklab(51.17% 0.1326 -0.1599)
OKLCHoklch(51.17% 0.208 309.7)
XYZxyz(20.8485, 11.4455, 49.2452)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33BD #66BD33
analogous
#4533BD #8A33BD #BD33AB
triadic
#8A33BD #BD8A33 #33BD8A
tetradic
#8A33BD #BD4533 #66BD33 #33ABBD
square
#8A33BD #BD4533 #66BD33 #33ABBD
split-complementary
#8A33BD #ABBD33 #33BD45
monochromatic
#44195D #67268D #8A33BD #A65BD3 #C08BE0

Accessibility & contrast

On white

6.38
#8A33BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A33BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33BD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33BD#FFFFFF#000000##FFFFFF
##8A33BD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#835375
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a33bd;
/* rgb */ color: rgb(138, 51, 189);
/* oklch */ color: oklch(51.2% 0.208 309.7);
Tailwind
colors: {
  custom: {
    50: '#b173d2',
    500: '#8a33bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a33bd;
$custom-light: #b173d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33bd",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 277.826,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.20772,
    "h": 309.7
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#8A33BD
secondary
#9DCA82
accent
#E14780
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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