#7551EA#7551EA

#7551EA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.218 H 288.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7551EA
RGBrgb(117, 81, 234)
HSLhsl(254, 78%, 62%)
HSVhsv(254, 65%, 92%)
CMYKcmyk(50%, 65.4%, 0%, 8.2%)
CIE-LABlab(46.45, 51.70, -72.43)
CIE-LCHlch(46.45, 88.98, 305.52°)
OKLaboklab(56.07% 0.0677 -0.2077)
OKLCHoklch(56.07% 0.218 288)
XYZxyz(25.1255, 15.6061, 79.5143)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7551EA #C6EA51
analogous
#5179EA #7551EA #C251EA
triadic
#7551EA #EA7551 #51EA75
tetradic
#7551EA #EA5179 #C6EA51 #51EAC2
square
#7551EA #EA5179 #C6EA51 #51EAC2
split-complementary
#7551EA #EAC251 #79EA51
monochromatic
#3815AC #4A1BE2 #7551EA #A088F1 #CCBEF7

Accessibility & contrast

On white

5.10
#7551EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7551EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7551EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7551EA#FFFFFF#000000##FFFFFF
##7551EA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#4B7797
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7551ea;
/* rgb */ color: rgb(117, 81, 234);
/* oklch */ color: oklch(56.1% 0.218 288.0);
Tailwind
colors: {
  custom: {
    50: '#a684f2',
    500: '#7551ea',
    950: '#000000',
  },
}
SCSS
$custom: #7551ea;
$custom-light: #a684f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7551ea",
  "rgb": {
    "r": 117,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 254.118,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.21848,
    "h": 288
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#7551EA
secondary
#DAE8AF
accent
#DB0BAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7551EA

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

Preview Lab → · Contrast checker → · Palette generator →

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