#7558E4#7558E4

#7558E4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.6% C 0.203 H 287.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7558E4
RGBrgb(117, 88, 228)
HSLhsl(252, 72%, 62%)
HSVhsv(252, 61%, 89%)
CMYKcmyk(48.7%, 61.4%, 0%, 10.6%)
CIE-LABlab(47.45, 46.14, -67.42)
CIE-LCHlch(47.45, 81.70, 304.38°)
OKLaboklab(56.65% 0.0614 -0.193)
OKLCHoklch(56.65% 0.203 287.6)
XYZxyz(24.8254, 16.3617, 75.2338)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7558E4 #C7E458
analogous
#5881E4 #7558E4 #BB58E4
triadic
#7558E4 #E47558 #58E475
tetradic
#7558E4 #E45881 #C7E458 #58E4BB
square
#7558E4 #E45881 #C7E458 #58E4BB
split-complementary
#7558E4 #E4BB58 #81E458
monochromatic
#381BA7 #4A23DB #7558E4 #A18DED #CCC1F5

Accessibility & contrast

On white

4.92
#7558E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7558E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7558E4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7558E4#FFFFFF#000000##FFFFFF
##7558E41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#4E7996
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7558e4;
/* rgb */ color: rgb(117, 88, 228);
/* oklch */ color: oklch(56.6% 0.203 287.6);
Tailwind
colors: {
  custom: {
    50: '#a588ed',
    500: '#7558e4',
    950: '#000000',
  },
}
SCSS
$custom: #7558e4;
$custom-light: #a588ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7558e4",
  "rgb": {
    "r": 117,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 252.429,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.20255,
    "h": 287.6
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#7558E4
secondary
#DBE6B2
accent
#D411AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7558E4

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

Preview Lab → · Contrast checker → · Palette generator →

#7558E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva