#7552EC#7552EC

#7552EC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.220 H 287.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7552EC
RGBrgb(117, 82, 236)
HSLhsl(254, 80%, 62%)
HSVhsv(254, 65%, 93%)
CMYKcmyk(50.4%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.81, 51.72, -72.98)
CIE-LCHlch(46.81, 89.45, 305.33°)
OKLaboklab(56.37% 0.0665 -0.2094)
OKLCHoklch(56.37% 0.22 287.6)
XYZxyz(25.4893, 15.8714, 81.0610)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552EC #C9EC52
analogous
#527CEC #7552EC #C252EC
triadic
#7552EC #EC7552 #52EC75
tetradic
#7552EC #EC527C #C9EC52 #52ECC2
square
#7552EC #EC527C #C9EC52 #52ECC2
split-complementary
#7552EC #ECC252 #7CEC52
monochromatic
#3713B0 #491BE6 #7552EC #A189F2 #CDC0F8

Accessibility & contrast

On white

5.03
#7552EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7552EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552EC#FFFFFF#000000##FFFFFF
##7552EC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#497898
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7552ec;
/* rgb */ color: rgb(117, 82, 236);
/* oklch */ color: oklch(56.4% 0.220 287.6);
Tailwind
colors: {
  custom: {
    50: '#a685f3',
    500: '#7552ec',
    950: '#000000',
  },
}
SCSS
$custom: #7552ec;
$custom-light: #a685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7552ec",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 253.636,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.21967,
    "h": 287.6
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#7552EC
secondary
#DCE9B1
accent
#DD09AC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7552EC

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

Preview Lab → · Contrast checker → · Palette generator →

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