#5425E2#5425E2

#5425E2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.3% C 0.254 H 282.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5425E2
RGBrgb(84, 37, 226)
HSLhsl(255, 77%, 52%)
HSVhsv(255, 84%, 89%)
CMYKcmyk(62.8%, 83.6%, 0%, 11.4%)
CIE-LABlab(35.40, 65.82, -86.16)
CIE-LCHlch(35.40, 108.43, 307.37°)
OKLaboklab(47.33% 0.0532 -0.2485)
OKLCHoklch(47.33% 0.254 282.1)
XYZxyz(18.0409, 8.6976, 72.6649)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5425E2 #B3E225
analogous
#2555E2 #5425E2 #B325E2
triadic
#5425E2 #E25425 #25E254
tetradic
#5425E2 #E22555 #B3E225 #25E2B3
square
#5425E2 #E22555 #B3E225 #25E2B3
split-complementary
#5425E2 #E2B325 #55E225
monochromatic
#2B117C #3E18B2 #5425E2 #7E5BE9 #A991F0

Accessibility & contrast

On white

7.66
#5425E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5425E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5425E2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5425E2#FFFFFF#000000##FFFFFF
##5425E21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5425e2;
/* rgb */ color: rgb(84, 37, 226);
/* oklch */ color: oklch(47.3% 0.254 282.1);
Tailwind
colors: {
  custom: {
    50: '#9669ed',
    500: '#5425e2',
    950: '#000000',
  },
}
SCSS
$custom: #5425e2;
$custom-light: #9669ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5425e2",
  "rgb": {
    "r": 84,
    "g": 37,
    "b": 226
  },
  "hsl": {
    "h": 254.921,
    "s": 76.518,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47328,
    "c": 0.25417,
    "h": 282.1
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#5425E2
secondary
#C6DB88
accent
#F335C4
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #5425E2

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

Preview Lab → · Contrast checker → · Palette generator →

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