#7556F2#7556F2

#7556F2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.222 H 286.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7556F2
RGBrgb(117, 86, 242)
HSLhsl(252, 86%, 64%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(51.7%, 64.5%, 0%, 5.1%)
CIE-LABlab(48.07, 51.26, -74.29)
CIE-LCHlch(48.07, 90.26, 304.60°)
OKLaboklab(57.42% 0.0621 -0.2132)
OKLCHoklch(57.42% 0.222 286.2)
XYZxyz(26.6862, 16.8469, 85.8328)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7556F2 #D3F256
analogous
#5685F2 #7556F2 #C356F2
triadic
#7556F2 #F27556 #56F275
tetradic
#7556F2 #F25685 #D3F256 #56F2C3
square
#7556F2 #F25685 #D3F256 #56F2C3
split-complementary
#7556F2 #F2C356 #85F256
monochromatic
#320FBF #471DEE #7556F2 #A38FF6 #D2C8FB

Accessibility & contrast

On white

4.81
#7556F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7556F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7556F2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7556F2#FFFFFF#000000##FFFFFF
##7556F21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7556f2;
/* rgb */ color: rgb(117, 86, 242);
/* oklch */ color: oklch(57.4% 0.222 286.2);
Tailwind
colors: {
  custom: {
    50: '#a787f7',
    500: '#7556f2',
    950: '#000000',
  },
}
SCSS
$custom: #7556f2;
$custom-light: #a787f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7556f2",
  "rgb": {
    "r": 117,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 251.923,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57421,
    "c": 0.22208,
    "h": 286.2
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#7556F2
secondary
#E2EDB7
accent
#E203B6
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7556F2

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

Preview Lab → · Contrast checker → · Palette generator →

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