#7551EB#7551EB

#7551EB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.220 H 287.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7551EB
RGBrgb(117, 81, 235)
HSLhsl(254, 79%, 62%)
HSVhsv(254, 66%, 92%)
CMYKcmyk(50.2%, 65.5%, 0%, 7.8%)
CIE-LABlab(46.53, 51.98, -72.86)
CIE-LCHlch(46.53, 89.51, 305.50°)
OKLaboklab(56.15% 0.0675 -0.209)
OKLCHoklch(56.15% 0.22 287.9)
XYZxyz(25.2696, 15.6638, 80.2731)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7551EB #C7EB51
analogous
#517AEB #7551EB #C251EB
triadic
#7551EB #EB7551 #51EB75
tetradic
#7551EB #EB517A #C7EB51 #51EBC2
square
#7551EB #EB517A #C7EB51 #51EBC2
split-complementary
#7551EB #EBC251 #7AEB51
monochromatic
#3814AE #4A1AE5 #7551EB #A188F1 #CCBFF8

Accessibility & contrast

On white

5.08
#7551EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7551EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7551EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7551EB#FFFFFF#000000##FFFFFF
##7551EB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#4A7797
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7551eb;
/* rgb */ color: rgb(117, 81, 235);
/* oklch */ color: oklch(56.1% 0.220 287.9);
Tailwind
colors: {
  custom: {
    50: '#a684f2',
    500: '#7551eb',
    950: '#000000',
  },
}
SCSS
$custom: #7551eb;
$custom-light: #a684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7551eb",
  "rgb": {
    "r": 117,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 254.026,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.21967,
    "h": 287.9
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#7551EB
secondary
#DBE8B0
accent
#DC0AAB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7551EB

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

Preview Lab → · Contrast checker → · Palette generator →

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