#7752CF#7752CF

#7752CF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.184 H 292.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7752CF
RGBrgb(119, 82, 207)
HSLhsl(258, 57%, 57%)
HSVhsv(258, 60%, 81%)
CMYKcmyk(42.5%, 60.4%, 0%, 18.8%)
CIE-LABlab(44.89, 44.01, -59.59)
CIE-LCHlch(44.89, 74.08, 306.45°)
OKLaboklab(54.36% 0.0717 -0.1699)
OKLCHoklch(54.36% 0.184 292.9)
XYZxyz(21.8845, 14.4609, 60.6576)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752CF #AACF52
analogous
#526CCF #7752CF #B652CF
triadic
#7752CF #CF7752 #52CF77
tetradic
#7752CF #CF526C #AACF52 #52CFB6
square
#7752CF #CF526C #AACF52 #52CFB6
split-complementary
#7752CF #CFB652 #6CCF52
monochromatic
#402482 #5831B2 #7752CF #9D82DC #C2B2EA

Accessibility & contrast

On white

5.40
#7752CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7752CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752CF#FFFFFF#000000##FFFFFF
##7752CF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#5F6E89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7752cf;
/* rgb */ color: rgb(119, 82, 207);
/* oklch */ color: oklch(54.4% 0.184 292.9);
Tailwind
colors: {
  custom: {
    50: '#a484de',
    500: '#7752cf',
    950: '#000000',
  },
}
SCSS
$custom: #7752cf;
$custom-light: #a484de;
$custom-dark: #000000;
JSON
{
  "hex": "#7752cf",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 257.76,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.18443,
    "h": 292.9
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#7752CF
secondary
#C9D8A5
accent
#E048B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7752CF

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

Preview Lab → · Contrast checker → · Palette generator →

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