#7752D4#7752D4

#7752D4 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.191 H 292.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7752D4
RGBrgb(119, 82, 212)
HSLhsl(257, 60%, 58%)
HSVhsv(257, 61%, 83%)
CMYKcmyk(43.9%, 61.3%, 0%, 16.9%)
CIE-LABlab(45.23, 45.39, -61.90)
CIE-LCHlch(45.23, 76.76, 306.25°)
OKLaboklab(54.72% 0.0714 -0.1767)
OKLCHoklch(54.72% 0.191 292)
XYZxyz(22.5054, 14.7093, 63.9280)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752D4 #AFD452
analogous
#526ED4 #7752D4 #B852D4
triadic
#7752D4 #D47752 #52D477
tetradic
#7752D4 #D4526E #AFD452 #52D4B8
square
#7752D4 #D4526E #AFD452 #52D4B8
split-complementary
#7752D4 #D4B852 #6ED452
monochromatic
#402289 #562EBA #7752D4 #9E83E0 #C4B4EC

Accessibility & contrast

On white

5.33
#7752D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7752D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752D4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752D4#FFFFFF#000000##FFFFFF
##7752D41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#5C708B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7752d4;
/* rgb */ color: rgb(119, 82, 212);
/* oklch */ color: oklch(54.7% 0.191 292.0);
Tailwind
colors: {
  custom: {
    50: '#a584e2',
    500: '#7752d4',
    950: '#000000',
  },
}
SCSS
$custom: #7752d4;
$custom-light: #a584e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7752d4",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 257.077,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.1906,
    "h": 292
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#7752D4
secondary
#CCDBA7
accent
#E344B6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7752D4

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

Preview Lab → · Contrast checker → · Palette generator →

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