#8A24EF

A color in the Violet family

#8a24ef is a color in the Violet family: RGB(138, 36, 239), HSL(270°, 86%, 54%), CMYK(42%, 85%, 0%, 6%). 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#8a24ef
RGBrgb(138 36 239)
RGB (legacy)rgb(138, 36, 239)
RGB %rgb(54% 14% 94%)
HSLhsl(270 86% 54%)
HSV / HSBhsv(270, 85%, 94%)
HWBhwb(270 14% 6%)
CMYKcmyk(42%, 85%, 0%, 6%)
CIELAB (D50)lab(41.46 67.34 -82.92)
LCHlch(41.46 106.82 309.08)
OKLaboklab(0.5401 0.1301 -0.2333)
OKLCHoklch(0.5401 0.2671 299.16)
Decimal9053423

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 2.1
Closest web-safe color#9933ff
Hue270°
Saturation (HSL / HSV)86% / 85%
Lightness (HSL)54%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)35% / 28%
Relative luminance (WCAG)0.129
Red / Green / Blue138 / 36 / 239

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 77.7 / -24 · As background with white / black text: Lc -83 / 26.3

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: #8a24ef;
  --color-brand-oklch: oklch(54.01% 0.2671 299.16);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 36 239 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a24ef] text-[#8a24ef] border-[#8a24ef]">