#7556EB#7556EB

#7556EB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.214 H 287.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7556EB
RGBrgb(117, 86, 235)
HSLhsl(252, 79%, 63%)
HSVhsv(252, 63%, 92%)
CMYKcmyk(50.2%, 63.4%, 0%, 7.8%)
CIE-LABlab(47.54, 49.26, -71.22)
CIE-LCHlch(47.54, 86.59, 304.67°)
OKLaboklab(56.87% 0.0628 -0.2042)
OKLCHoklch(56.87% 0.214 287.1)
XYZxyz(25.6549, 16.4344, 80.4015)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7556EB #CCEB56
analogous
#5681EB #7556EB #BF56EB
triadic
#7556EB #EB7556 #56EB75
tetradic
#7556EB #EB5681 #CCEB56 #56EBBF
square
#7556EB #EB5681 #CCEB56 #56EBBF
split-complementary
#7556EB #EBBF56 #81EB56
monochromatic
#3615B2 #481FE5 #7556EB #A28DF1 #CEC3F8

Accessibility & contrast

On white

4.90
#7556EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7556EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7556EB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7556EB#FFFFFF#000000##FFFFFF
##7556EB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#4A7A99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7556eb;
/* rgb */ color: rgb(117, 86, 235);
/* oklch */ color: oklch(56.9% 0.214 287.1);
Tailwind
colors: {
  custom: {
    50: '#a687f2',
    500: '#7556eb',
    950: '#000000',
  },
}
SCSS
$custom: #7556eb;
$custom-light: #a687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7556eb",
  "rgb": {
    "r": 117,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 252.483,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.21364,
    "h": 287.1
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#7556EB
secondary
#DEE9B4
accent
#DB0AB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7556EB

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

Preview Lab → · Contrast checker → · Palette generator →

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