#873DFD

A color in the Violet family

#873dfd is a color in the Violet family: RGB(135, 61, 253), HSL(263°, 98%, 62%), CMYK(47%, 76%, 0%, 1%). Closest named color: blueviolet. Contrast is 5.1:1 on white and 4.12:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#873dfd
RGBrgb(135 61 253)
RGB (legacy)rgb(135, 61, 253)
RGB %rgb(53% 24% 99%)
HSLhsl(263 98% 62%)
HSV / HSBhsv(263, 76%, 99%)
HWBhwb(263 24% 1%)
CMYKcmyk(47%, 76%, 0%, 1%)
CIELAB (D50)lab(45.21 60.91 -84.64)
LCHlch(45.21 104.28 305.74)
OKLaboklab(0.5694 0.1056 -0.2383)
OKLCHoklch(0.5694 0.2606 293.89)
Decimal8863229

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 5
Closest web-safe color#9933ff
Hue263°
Saturation (HSL / HSV)98% / 76%
Lightness (HSL)62%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)41% / 36%
Relative luminance (WCAG)0.1558
Red / Green / Blue135 / 61 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.12: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 74.1 / -27.6 · As background with white / black text: Lc -79.5 / 30

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: #873dfd;
  --color-brand-oklch: oklch(56.94% 0.2606 293.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(135 61 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#873dfd] text-[#873dfd] border-[#873dfd]">