#7752CE#7752CE

#7752CE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.183 H 293.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7752CE
RGBrgb(119, 82, 206)
HSLhsl(258, 56%, 56%)
HSVhsv(258, 60%, 81%)
CMYKcmyk(42.2%, 60.2%, 0%, 19.2%)
CIE-LABlab(44.82, 43.74, -59.12)
CIE-LCHlch(44.82, 73.54, 306.49°)
OKLaboklab(54.29% 0.0717 -0.1686)
OKLCHoklch(54.29% 0.183 293.1)
XYZxyz(21.7626, 14.4122, 60.0158)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752CE #A9CE52
analogous
#526BCE #7752CE #B552CE
triadic
#7752CE #CE7752 #52CE77
tetradic
#7752CE #CE526B #A9CE52 #52CEB5
square
#7752CE #CE526B #A9CE52 #52CEB5
split-complementary
#7752CE #CEB552 #6BCE52
monochromatic
#402581 #5832B1 #7752CE #9C82DC #C2B1E9

Accessibility & contrast

On white

5.41
#7752CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7752CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752CE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752CE#FFFFFF#000000##FFFFFF
##7752CE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#5F6E88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7752ce;
/* rgb */ color: rgb(119, 82, 206);
/* oklch */ color: oklch(54.3% 0.183 293.1);
Tailwind
colors: {
  custom: {
    50: '#a484de',
    500: '#7752ce',
    950: '#000000',
  },
}
SCSS
$custom: #7752ce;
$custom-light: #a484de;
$custom-dark: #000000;
JSON
{
  "hex": "#7752ce",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 257.903,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.18319,
    "h": 293.1
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#7752CE
secondary
#C8D7A4
accent
#DF49B2
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7752CE

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

Preview Lab → · Contrast checker → · Palette generator →

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