#8A33DB

A color in the Purple, Crimson, Magenta family

#8a33db is a color in the Purple, Crimson, Magenta family: RGB(138, 51, 219), HSL(271°, 70%, 53%), CMYK(37%, 77%, 0%, 14%). Closest named color: blueviolet. Contrast is 5.87:1 on white and 3.58:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a33db
RGBrgb(138 51 219)
RGB (legacy)rgb(138, 51, 219)
RGB %rgb(54% 20% 86%)
HSLhsl(271 70% 53%)
HSV / HSBhsv(271, 77%, 86%)
HWBhwb(271 20% 14%)
CMYKcmyk(37%, 77%, 0%, 14%)
CIELAB (D50)lab(41.72 58.98 -71.13)
LCHlch(41.72 92.4 309.66)
OKLaboklab(0.5348 0.1264 -0.2001)
OKLCHoklch(0.5348 0.2367 302.28)
Decimal9057243

Properties

Color TonePurple, Crimson, Magenta
Closest named colorblueviolet ΔE 1.4
Closest web-safe color#9933cc
Hue271°
Saturation (HSL / HSV)70% / 77%
Lightness (HSL)53%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)38% / 32%
Relative luminance (WCAG)0.1289
Red / Green / Blue138 / 51 / 219

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.87:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.58:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 78.3 / -23.5 · As background with white / black text: Lc -83.5 / 25.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a33db;
  --color-brand-oklch: oklch(53.48% 0.2367 302.28);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 51 219 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a33db] text-[#8a33db] border-[#8a33db]">