#955DFD

A color in the Violet family

#955dfd is a color in the Violet family: RGB(149, 93, 253), HSL(261°, 98%, 68%), CMYK(41%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 3.99:1 on white and 5.26:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#955dfd
RGBrgb(149 93 253)
RGB (legacy)rgb(149, 93, 253)
RGB %rgb(58% 36% 99%)
HSLhsl(261 98% 68%)
HSV / HSBhsv(261, 63%, 99%)
HWBhwb(261 36% 1%)
CMYKcmyk(41%, 63%, 0%, 1%)
CIELAB (D50)lab(52.39 49.14 -72.88)
LCHlch(52.39 87.9 303.99)
OKLaboklab(0.6217 0.0959 -0.2049)
OKLCHoklch(0.6217 0.2263 295.09)
Decimal9788925

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 5.1
Closest web-safe color#9966ff
Hue261°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)50% / 46%
Relative luminance (WCAG)0.2131
Red / Green / Blue149 / 93 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.99:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.26: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 66.7 / -35 · As background with white / black text: Lc -72.2 / 37.4

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: #955dfd;
  --color-brand-oklch: oklch(62.17% 0.2263 295.09);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(149 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#955dfd] text-[#955dfd] border-[#955dfd]">