#7752EC#7752EC

#7752EC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.220 H 288.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7752EC
RGBrgb(119, 82, 236)
HSLhsl(254, 80%, 62%)
HSVhsv(254, 65%, 93%)
CMYKcmyk(49.6%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.99, 52.07, -72.67)
CIE-LCHlch(46.99, 89.40, 305.62°)
OKLaboklab(56.54% 0.0691 -0.2084)
OKLCHoklch(56.54% 0.22 288.4)
XYZxyz(25.7610, 16.0115, 81.0738)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752EC #C7EC52
analogous
#527AEC #7752EC #C452EC
triadic
#7752EC #EC7752 #52EC77
tetradic
#7752EC #EC527A #C7EC52 #52ECC4
square
#7752EC #EC527A #C7EC52 #52ECC4
split-complementary
#7752EC #ECC452 #7AEC52
monochromatic
#3913B0 #4C1BE6 #7752EC #A289F2 #CEC0F8

Accessibility & contrast

On white

5.00
#7752EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7752EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752EC#FFFFFF#000000##FFFFFF
##7752EC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#4D7898
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7752ec;
/* rgb */ color: rgb(119, 82, 236);
/* oklch */ color: oklch(56.5% 0.220 288.4);
Tailwind
colors: {
  custom: {
    50: '#a785f3',
    500: '#7752ec',
    950: '#000000',
  },
}
SCSS
$custom: #7752ec;
$custom-light: #a785f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7752ec",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 254.416,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.21957,
    "h": 288.4
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#7752EC
secondary
#DCE9B1
accent
#DD09AA
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7752EC

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

Preview Lab → · Contrast checker → · Palette generator →

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