#887DFD

A color in the Violet family

#887dfd is a color in the Violet family: RGB(136, 125, 253), HSL(245°, 97%, 74%), CMYK(46%, 51%, 0%, 1%). Closest named color: mediumpurple. Contrast is 3.28:1 on white and 6.4:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#887dfd
RGBrgb(136 125 253)
RGB (legacy)rgb(136, 125, 253)
RGB %rgb(53% 49% 99%)
HSLhsl(245 97% 74%)
HSV / HSBhsv(245, 51%, 99%)
HWBhwb(245 49% 1%)
CMYKcmyk(46%, 51%, 0%, 1%)
CIELAB (D50)lab(58.16 28.96 -63.67)
LCHlch(58.16 69.95 294.46)
OKLaboklab(0.6607 0.0447 -0.1785)
OKLCHoklch(0.6607 0.184 284.05)
Decimal8945149

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.7
Closest web-safe color#9966ff
Hue245°
Saturation (HSL / HSV)97% / 51%
Lightness (HSL)74%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)56% / 54%
Relative luminance (WCAG)0.2699
Red / Green / Blue136 / 125 / 253

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 59.9 / -41.8 · As background with white / black text: Lc -65.4 / 44.1

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: #887dfd;
  --color-brand-oklch: oklch(66.07% 0.184 284.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(136 125 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#887dfd] text-[#887dfd] border-[#887dfd]">