#7752D5#7752D5

#7752D5 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.192 H 291.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7752D5
RGBrgb(119, 82, 213)
HSLhsl(257, 61%, 58%)
HSVhsv(257, 62%, 84%)
CMYKcmyk(44.1%, 61.5%, 0%, 16.5%)
CIE-LABlab(45.30, 45.67, -62.36)
CIE-LCHlch(45.30, 77.29, 306.22°)
OKLaboklab(54.79% 0.0714 -0.1781)
OKLCHoklch(54.79% 0.192 291.8)
XYZxyz(22.6320, 14.7599, 64.5944)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752D5 #B0D552
analogous
#526ED5 #7752D5 #B952D5
triadic
#7752D5 #D57752 #52D577
tetradic
#7752D5 #D5526E #B0D552 #52D5B9
square
#7752D5 #D5526E #B0D552 #52D5B9
split-complementary
#7752D5 #D5B952 #6ED552
monochromatic
#3F228B #562EBC #7752D5 #9E83E1 #C4B4ED

Accessibility & contrast

On white

5.31
#7752D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7752D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752D5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752D5#FFFFFF#000000##FFFFFF
##7752D51.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#5C708C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7752d5;
/* rgb */ color: rgb(119, 82, 213);
/* oklch */ color: oklch(54.8% 0.192 291.8);
Tailwind
colors: {
  custom: {
    50: '#a584e3',
    500: '#7752d5',
    950: '#000000',
  },
}
SCSS
$custom: #7752d5;
$custom-light: #a584e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7752d5",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 256.947,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.19183,
    "h": 291.8
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#7752D5
secondary
#CDDCA7
accent
#E444B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7752D5

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

Preview Lab → · Contrast checker → · Palette generator →

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