#7552CC#7552CC

#7552CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.181 H 292.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7552CC
RGBrgb(117, 82, 204)
HSLhsl(257, 54%, 56%)
HSVhsv(257, 60%, 80%)
CMYKcmyk(42.6%, 59.8%, 0%, 20%)
CIE-LABlab(44.48, 42.76, -58.52)
CIE-LCHlch(44.48, 72.48, 306.15°)
OKLaboklab(53.95% 0.0692 -0.1669)
OKLCHoklch(53.95% 0.181 292.5)
XYZxyz(21.2495, 14.1755, 58.7316)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552CC #A9CC52
analogous
#526CCC #7552CC #B252CC
triadic
#7552CC #CC7552 #52CC75
tetradic
#7552CC #CC526C #A9CC52 #52CCB2
square
#7552CC #CC526C #A9CC52 #52CCB2
split-complementary
#7552CC #CCB252 #6CCC52
monochromatic
#3F257E #5633AE #7552CC #9B81DA #C0B1E8

Accessibility & contrast

On white

5.48
#7552CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7552CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552CC#FFFFFF#000000##FFFFFF
##7552CC1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0167C9
Tritanopia (blue-blind)
#5D6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7552cc;
/* rgb */ color: rgb(117, 82, 204);
/* oklch */ color: oklch(54.0% 0.181 292.5);
Tailwind
colors: {
  custom: {
    50: '#a284dc',
    500: '#7552cc',
    950: '#000000',
  },
}
SCSS
$custom: #7552cc;
$custom-light: #a284dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7552cc",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 257.213,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.18063,
    "h": 292.5
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#7552CC
secondary
#C8D6A4
accent
#DE4AB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7552CC

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

Preview Lab → · Contrast checker → · Palette generator →

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