#7557F2#7557F2

#7557F2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.221 H 286.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7557F2
RGBrgb(117, 87, 242)
HSLhsl(252, 86%, 65%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(51.7%, 64%, 0%, 5.1%)
CIE-LABlab(48.27, 50.71, -73.96)
CIE-LCHlch(48.27, 89.68, 304.43°)
OKLaboklab(57.57% 0.0611 -0.2123)
OKLCHoklch(57.57% 0.221 286.1)
XYZxyz(26.7666, 17.0077, 85.8596)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7557F2 #D4F257
analogous
#5787F2 #7557F2 #C357F2
triadic
#7557F2 #F27557 #57F275
tetradic
#7557F2 #F25787 #D4F257 #57F2C3
square
#7557F2 #F25787 #D4F257 #57F2C3
split-complementary
#7557F2 #F2C357 #87F257
monochromatic
#310FC0 #461EEE #7557F2 #A490F6 #D2C9FB

Accessibility & contrast

On white

4.77
#7557F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7557F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7557F2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7557F2#FFFFFF#000000##FFFFFF
##7557F21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#447D9D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7557f2;
/* rgb */ color: rgb(117, 87, 242);
/* oklch */ color: oklch(57.6% 0.221 286.1);
Tailwind
colors: {
  custom: {
    50: '#a788f7',
    500: '#7557f2',
    950: '#000000',
  },
}
SCSS
$custom: #7557f2;
$custom-light: #a788f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7557f2",
  "rgb": {
    "r": 117,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 251.613,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.22089,
    "h": 286.1
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#7557F2
secondary
#E3EDB8
accent
#E203B7
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7557F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7557F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva