#625FEC

A color in the Violet family

#625fec is a color in the Violet family: RGB(98, 95, 236), HSL(241°, 79%, 65%), CMYK(58%, 60%, 0%, 7%). Closest named color: mediumslateblue. Contrast is 4.81:1 on white and 4.37:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#625fec
RGBrgb(98 95 236)
RGB (legacy)rgb(98, 95, 236)
RGB %rgb(38% 37% 93%)
HSLhsl(241 79% 65%)
HSV / HSBhsv(241, 60%, 93%)
HWBhwb(241 37% 7%)
CMYKcmyk(58%, 60%, 0%, 7%)
CIELAB (D50)lab(46.98 32.81 -72.43)
LCHlch(46.98 79.52 294.37)
OKLaboklab(0.569 0.0306 -0.2041)
OKLCHoklch(0.569 0.2064 278.52)
Decimal6447084

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 4.5
Closest web-safe color#6666ff
Hue241°
Saturation (HSL / HSV)79% / 60%
Lightness (HSL)65%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)44% / 41%
Relative luminance (WCAG)0.1684
Red / Green / Blue98 / 95 / 236

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.81:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.37: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 72.9 / -28.8 · As background with white / black text: Lc -78.3 / 31.2

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: #625fec;
  --color-brand-oklch: oklch(56.9% 0.2064 278.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(98 95 236 / 50%); }
/* Tailwind CSS */
<div class="bg-[#625fec] text-[#625fec] border-[#625fec]">