#635DFD

A color in the Violet family

#635dfd is a color in the Violet family: RGB(99, 93, 253), HSL(242°, 98%, 68%), CMYK(61%, 63%, 0%, 1%). Closest named color: mediumslateblue. Contrast is 4.65:1 on white and 4.51:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#635dfd
RGBrgb(99 93 253)
RGB (legacy)rgb(99, 93, 253)
RGB %rgb(39% 36% 99%)
HSLhsl(242 98% 68%)
HSV / HSBhsv(242, 63%, 99%)
HWBhwb(242 36% 1%)
CMYKcmyk(61%, 63%, 0%, 1%)
CIELAB (D50)lab(47.72 38.57 -80.7)
LCHlch(47.72 89.45 295.55)
OKLaboklab(0.5799 0.0324 -0.2276)
OKLCHoklch(0.5799 0.2299 278.11)
Decimal6512125

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 5.1
Closest web-safe color#6666ff
Hue242°
Saturation (HSL / HSV)98% / 63%
Lightness (HSL)68%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)44% / 42%
Relative luminance (WCAG)0.1757
Red / Green / Blue99 / 93 / 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.51: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.7 / -30 · As background with white / black text: Lc -77.2 / 32.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: #635dfd;
  --color-brand-oklch: oklch(57.99% 0.2299 278.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(99 93 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#635dfd] text-[#635dfd] border-[#635dfd]">