#7552CA#7552CA

#7552CA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.178 H 292.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7552CA
RGBrgb(117, 82, 202)
HSLhsl(258, 53%, 56%)
HSVhsv(258, 59%, 79%)
CMYKcmyk(42.1%, 59.4%, 0%, 20.8%)
CIE-LABlab(44.35, 42.21, -57.59)
CIE-LCHlch(44.35, 71.40, 306.24°)
OKLaboklab(53.81% 0.0692 -0.1641)
OKLCHoklch(53.81% 0.178 292.9)
XYZxyz(21.0112, 14.0802, 57.4764)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552CA #A7CA52
analogous
#526BCA #7552CA #B152CA
triadic
#7552CA #CA7552 #52CA75
tetradic
#7552CA #CA526B #A7CA52 #52CAB1
square
#7552CA #CA526B #A7CA52 #52CAB1
split-complementary
#7552CA #CAB152 #6BCA52
monochromatic
#3F267C #5734AB #7552CA #9A81D8 #C0B0E7

Accessibility & contrast

On white

5.50
#7552CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7552CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552CA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552CA#FFFFFF#000000##FFFFFF
##7552CA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0B67C7
Tritanopia (blue-blind)
#5E6D86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7552ca;
/* rgb */ color: rgb(117, 82, 202);
/* oklch */ color: oklch(53.8% 0.178 292.9);
Tailwind
colors: {
  custom: {
    50: '#a284db',
    500: '#7552ca',
    950: '#000000',
  },
}
SCSS
$custom: #7552ca;
$custom-light: #a284db;
$custom-dark: #000000;
JSON
{
  "hex": "#7552ca",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 257.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53808,
    "c": 0.17812,
    "h": 292.9
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#7552CA
secondary
#C6D5A3
accent
#DD4BB2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7552CA

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

Preview Lab → · Contrast checker → · Palette generator →

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