#7752DC#7752DC

#7752DC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.200 H 290.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7752DC
RGBrgb(119, 82, 220)
HSLhsl(256, 66%, 59%)
HSVhsv(256, 63%, 86%)
CMYKcmyk(45.9%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.80, 47.61, -65.54)
CIE-LCHlch(45.80, 81.01, 305.99°)
OKLaboklab(55.31% 0.0708 -0.1874)
OKLCHoklch(55.31% 0.2 290.7)
XYZxyz(23.5397, 15.1230, 69.3750)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752DC #B7DC52
analogous
#5272DC #7752DC #BC52DC
triadic
#7752DC #DC7752 #52DC77
tetradic
#7752DC #DC5272 #B7DC52 #52DCBC
square
#7752DC #DC5272 #B7DC52 #52DCBC
split-complementary
#7752DC #DCBC52 #72DC52
monochromatic
#3E1E95 #5329C8 #7752DC #9F85E6 #C7B8F1

Accessibility & contrast

On white

5.22
#7752DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7752DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752DC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752DC#FFFFFF#000000##FFFFFF
##7752DC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#58728F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7752dc;
/* rgb */ color: rgb(119, 82, 220);
/* oklch */ color: oklch(55.3% 0.200 290.7);
Tailwind
colors: {
  custom: {
    50: '#a584e8',
    500: '#7752dc',
    950: '#000000',
  },
}
SCSS
$custom: #7752dc;
$custom-light: #a584e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7752dc",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 256.087,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.20037,
    "h": 290.7
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#7752DC
secondary
#D1E0AA
accent
#E93FBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7752DC

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

Preview Lab → · Contrast checker → · Palette generator →

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