#625FEB

A color in the Violet family

#625feb is a color in the Violet family: RGB(98, 95, 235), HSL(241°, 78%, 65%), CMYK(58%, 60%, 0%, 8%). Closest named color: mediumslateblue. Contrast is 4.82:1 on white and 4.36:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#625feb
RGBrgb(98 95 235)
RGB (legacy)rgb(98, 95, 235)
RGB %rgb(38% 37% 92%)
HSLhsl(241 78% 65%)
HSV / HSBhsv(241, 60%, 92%)
HWBhwb(241 37% 8%)
CMYKcmyk(58%, 60%, 0%, 8%)
CIELAB (D50)lab(46.92 32.55 -71.97)
LCHlch(46.92 78.99 294.34)
OKLaboklab(0.5682 0.0306 -0.2028)
OKLCHoklch(0.5682 0.2051 278.59)
Decimal6447083

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.82:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.36: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 73 / -28.7 · As background with white / black text: Lc -78.4 / 31.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: #625feb;
  --color-brand-oklch: oklch(56.82% 0.2051 278.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(98 95 235 / 50%); }
/* Tailwind CSS */
<div class="bg-[#625feb] text-[#625feb] border-[#625feb]">