#9D3DFD

A color in the Violet family

#9d3dfd is a color in the Violet family: RGB(157, 61, 253), HSL(270°, 98%, 62%), CMYK(38%, 76%, 0%, 1%). Closest named color: blueviolet. Contrast is 4.65:1 on white and 4.52:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9d3dfd
RGBrgb(157 61 253)
RGB (legacy)rgb(157, 61, 253)
RGB %rgb(62% 24% 99%)
HSLhsl(270 98% 62%)
HSV / HSBhsv(270, 76%, 99%)
HWBhwb(270 24% 1%)
CMYKcmyk(38%, 76%, 0%, 1%)
CIELAB (D50)lab(48.01 64.97 -79.93)
LCHlch(48.01 103 309.11)
OKLaboklab(0.5932 0.1362 -0.2249)
OKLCHoklch(0.5932 0.2629 301.21)
Decimal10305021

Properties

Color ToneViolet
Closest named colorblueviolet ΔE 6.1
Closest web-safe color#9933ff
Hue270°
Saturation (HSL / HSV)98% / 76%
Lightness (HSL)62%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)44% / 37%
Relative luminance (WCAG)0.176
Red / Green / Blue157 / 61 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.65:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.52: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 71.1 / -30.5 · As background with white / black text: Lc -76.6 / 32.9

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: #9d3dfd;
  --color-brand-oklch: oklch(59.32% 0.2629 301.21);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(157 61 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9d3dfd] text-[#9d3dfd] border-[#9d3dfd]">