#7752C2#7752C2

#7752C2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.168 H 295.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7752C2
RGBrgb(119, 82, 194)
HSLhsl(260, 48%, 54%)
HSVhsv(260, 58%, 76%)
CMYKcmyk(38.7%, 57.7%, 0%, 23.9%)
CIE-LABlab(44.02, 40.47, -53.48)
CIE-LCHlch(44.02, 67.06, 307.12°)
OKLaboklab(53.45% 0.072 -0.152)
OKLCHoklch(53.45% 0.168 295.4)
XYZxyz(20.3601, 13.8512, 52.6293)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752C2 #9DC252
analogous
#5265C2 #7752C2 #AF52C2
triadic
#7752C2 #C27752 #52C277
tetradic
#7752C2 #C25265 #9DC252 #52C2AF
square
#7752C2 #C25265 #9DC252 #52C2AF
split-complementary
#7752C2 #C2AF52 #65C252
monochromatic
#402872 #5A389F #7752C2 #9B7FD2 #BEACE2

Accessibility & contrast

On white

5.57
#7752C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7752C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752C2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752C2#FFFFFF#000000##FFFFFF
##7752C21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#2466C0
Tritanopia (blue-blind)
#646A82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7752c2;
/* rgb */ color: rgb(119, 82, 194);
/* oklch */ color: oklch(53.4% 0.168 295.4);
Tailwind
colors: {
  custom: {
    50: '#a384d5',
    500: '#7752c2',
    950: '#000000',
  },
}
SCSS
$custom: #7752c2;
$custom-light: #a384d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7752c2",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 259.821,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.16818,
    "h": 295.4
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#7752C2
secondary
#C0D0A0
accent
#D750AB
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7752C2

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

Preview Lab → · Contrast checker → · Palette generator →

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