#7551EC#7551EC

#7551EC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.221 H 287.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7551EC
RGBrgb(117, 81, 236)
HSLhsl(254, 80%, 62%)
HSVhsv(254, 66%, 93%)
CMYKcmyk(50.4%, 65.7%, 0%, 7.5%)
CIE-LABlab(46.61, 52.26, -73.30)
CIE-LCHlch(46.61, 90.03, 305.49°)
OKLaboklab(56.22% 0.0674 -0.2103)
OKLCHoklch(56.22% 0.221 287.8)
XYZxyz(25.4144, 15.7217, 81.0361)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7551EC #C8EC51
analogous
#517BEC #7551EC #C251EC
triadic
#7551EC #EC7551 #51EC75
tetradic
#7551EC #EC517B #C8EC51 #51ECC2
square
#7551EC #EC517B #C8EC51 #51ECC2
split-complementary
#7551EC #ECC251 #7BEC51
monochromatic
#3713AF #491AE6 #7551EC #A188F2 #CDBFF8

Accessibility & contrast

On white

5.07
#7551EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7551EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7551EC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7551EC#FFFFFF#000000##FFFFFF
##7551EC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#497898
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7551ec;
/* rgb */ color: rgb(117, 81, 236);
/* oklch */ color: oklch(56.2% 0.221 287.8);
Tailwind
colors: {
  custom: {
    50: '#a684f3',
    500: '#7551ec',
    950: '#000000',
  },
}
SCSS
$custom: #7551ec;
$custom-light: #a684f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7551ec",
  "rgb": {
    "r": 117,
    "g": 81,
    "b": 236
  },
  "hsl": {
    "h": 253.935,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.22086,
    "h": 287.8
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#7551EC
secondary
#DCE9B0
accent
#DD09AB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7551EC

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

Preview Lab → · Contrast checker → · Palette generator →

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