#7552EB#7552EB

#7552EB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.218 H 287.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7552EB
RGBrgb(117, 82, 235)
HSLhsl(254, 79%, 62%)
HSVhsv(254, 65%, 92%)
CMYKcmyk(50.2%, 65.1%, 0%, 7.8%)
CIE-LABlab(46.73, 51.44, -72.54)
CIE-LCHlch(46.73, 88.93, 305.34°)
OKLaboklab(56.29% 0.0666 -0.2081)
OKLCHoklch(56.29% 0.218 287.8)
XYZxyz(25.3444, 15.8135, 80.2980)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552EB #C8EB52
analogous
#527CEB #7552EB #C152EB
triadic
#7552EB #EB7552 #52EB75
tetradic
#7552EB #EB527C #C8EB52 #52EBC1
square
#7552EB #EB527C #C8EB52 #52EBC1
split-complementary
#7552EB #EBC152 #7CEB52
monochromatic
#3714AE #491BE5 #7552EB #A189F1 #CDC0F8

Accessibility & contrast

On white

5.04
#7552EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7552EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552EB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552EB#FFFFFF#000000##FFFFFF
##7552EB1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#4A7897
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7552eb;
/* rgb */ color: rgb(117, 82, 235);
/* oklch */ color: oklch(56.3% 0.218 287.8);
Tailwind
colors: {
  custom: {
    50: '#a685f2',
    500: '#7552eb',
    950: '#000000',
  },
}
SCSS
$custom: #7552eb;
$custom-light: #a685f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7552eb",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 253.725,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.21848,
    "h": 287.8
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#7552EB
secondary
#DCE8B0
accent
#DC0AAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7552EB

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

Preview Lab → · Contrast checker → · Palette generator →

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