#5625E2#5625E2

#5625E2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.5% C 0.254 H 282.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5625E2
RGBrgb(86, 37, 226)
HSLhsl(256, 77%, 52%)
HSVhsv(256, 84%, 89%)
CMYKcmyk(61.9%, 83.6%, 0%, 11.4%)
CIE-LABlab(35.58, 65.99, -85.85)
CIE-LCHlch(35.58, 108.28, 307.55°)
OKLaboklab(47.5% 0.0561 -0.2476)
OKLCHoklch(47.5% 0.254 282.8)
XYZxyz(18.2225, 8.7912, 72.6734)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5625E2 #B1E225
analogous
#2553E2 #5625E2 #B525E2
triadic
#5625E2 #E25625 #25E256
tetradic
#5625E2 #E22553 #B1E225 #25E2B5
square
#5625E2 #E22553 #B1E225 #25E2B5
split-complementary
#5625E2 #E2B525 #53E225
monochromatic
#2C117C #4018B2 #5625E2 #805BE9 #AA91F0

Accessibility & contrast

On white

7.61
#5625E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5625E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5625E2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5625E2#FFFFFF#000000##FFFFFF
##5625E21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E7
Deuteranopia (green-blind)
#004DDF
Tritanopia (blue-blind)
#006288
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5625e2;
/* rgb */ color: rgb(86, 37, 226);
/* oklch */ color: oklch(47.5% 0.254 282.8);
Tailwind
colors: {
  custom: {
    50: '#9769ed',
    500: '#5625e2',
    950: '#000000',
  },
}
SCSS
$custom: #5625e2;
$custom-light: #9769ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5625e2",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 255.556,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47498,
    "c": 0.25388,
    "h": 282.8
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#5625E2
secondary
#C5DB88
accent
#F335C2
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5625E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5625E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva