#7552CB#7552CB

#7552CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.179 H 292.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7552CB
RGBrgb(117, 82, 203)
HSLhsl(257, 54%, 56%)
HSVhsv(257, 60%, 80%)
CMYKcmyk(42.4%, 59.6%, 0%, 20.4%)
CIE-LABlab(44.42, 42.48, -58.06)
CIE-LCHlch(44.42, 71.94, 306.19°)
OKLaboklab(53.88% 0.0692 -0.1655)
OKLCHoklch(53.88% 0.179 292.7)
XYZxyz(21.1300, 14.1277, 58.1020)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7552CB #A8CB52
analogous
#526BCB #7552CB #B152CB
triadic
#7552CB #CB7552 #52CB75
tetradic
#7552CB #CB526B #A8CB52 #52CBB1
square
#7552CB #CB526B #A8CB52 #52CBB1
split-complementary
#7552CB #CBB152 #6BCB52
monochromatic
#3F267D #5734AC #7552CB #9B81D9 #C0B0E7

Accessibility & contrast

On white

5.49
#7552CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7552CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7552CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7552CB#FFFFFF#000000##FFFFFF
##7552CB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0667C8
Tritanopia (blue-blind)
#5D6D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7552cb;
/* rgb */ color: rgb(117, 82, 203);
/* oklch */ color: oklch(53.9% 0.179 292.7);
Tailwind
colors: {
  custom: {
    50: '#a284dc',
    500: '#7552cb',
    950: '#000000',
  },
}
SCSS
$custom: #7552cb;
$custom-light: #a284dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7552cb",
  "rgb": {
    "r": 117,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 257.355,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.17938,
    "h": 292.7
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#7552CB
secondary
#C7D5A3
accent
#DD4BB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7552CB

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

Preview Lab → · Contrast checker → · Palette generator →

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