#7752CC#7752CC

#7752CC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.181 H 293.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7752CC
RGBrgb(119, 82, 204)
HSLhsl(258, 54%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(41.7%, 59.8%, 0%, 20%)
CIE-LABlab(44.68, 43.19, -58.19)
CIE-LCHlch(44.68, 72.47, 306.58°)
OKLaboklab(54.14% 0.0718 -0.1658)
OKLCHoklch(54.14% 0.181 293.4)
XYZxyz(21.5212, 14.3156, 58.7443)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752CC #A7CC52
analogous
#526ACC #7752CC #B452CC
triadic
#7752CC #CC7752 #52CC77
tetradic
#7752CC #CC526A #A7CC52 #52CCB4
square
#7752CC #CC526A #A7CC52 #52CCB4
split-complementary
#7752CC #CCB452 #6ACC52
monochromatic
#40257E #5833AE #7752CC #9C81DA #C1B1E8

Accessibility & contrast

On white

5.44
#7752CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7752CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752CC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752CC#FFFFFF#000000##FFFFFF
##7752CC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0968C9
Tritanopia (blue-blind)
#606D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7752cc;
/* rgb */ color: rgb(119, 82, 204);
/* oklch */ color: oklch(54.1% 0.181 293.4);
Tailwind
colors: {
  custom: {
    50: '#a484dc',
    500: '#7752cc',
    950: '#000000',
  },
}
SCSS
$custom: #7752cc;
$custom-light: #a484dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7752cc",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 258.197,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.18071,
    "h": 293.4
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#7752CC
secondary
#C7D6A4
accent
#DE4AB1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7752CC

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

Preview Lab → · Contrast checker → · Palette generator →

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