#7752EB#7752EB

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

Color values

HEX#7752EB
RGBrgb(119, 82, 235)
HSLhsl(255, 79%, 62%)
HSVhsv(255, 65%, 92%)
CMYKcmyk(49.4%, 65.1%, 0%, 7.8%)
CIE-LABlab(46.91, 51.79, -72.23)
CIE-LCHlch(46.91, 88.88, 305.64°)
OKLaboklab(56.47% 0.0693 -0.2071)
OKLCHoklch(56.47% 0.218 288.5)
XYZxyz(25.6161, 15.9535, 80.3108)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752EB #C6EB52
analogous
#5279EB #7752EB #C452EB
triadic
#7752EB #EB7752 #52EB77
tetradic
#7752EB #EB5279 #C6EB52 #52EBC4
square
#7752EB #EB5279 #C6EB52 #52EBC4
split-complementary
#7752EB #EBC452 #79EB52
monochromatic
#3914AE #4C1BE5 #7752EB #A289F1 #CDC0F8

Accessibility & contrast

On white

5.01
#7752EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7752EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752EB#FFFFFF#000000##FFFFFF
##7752EB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#4E7897
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7752eb;
/* rgb */ color: rgb(119, 82, 235);
/* oklch */ color: oklch(56.5% 0.218 288.5);
Tailwind
colors: {
  custom: {
    50: '#a785f2',
    500: '#7752eb',
    950: '#000000',
  },
}
SCSS
$custom: #7752eb;
$custom-light: #a785f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7752eb",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 254.51,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.21838,
    "h": 288.5
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#7752EB
secondary
#DBE8B0
accent
#DC0AA9
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7752EB

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

Preview Lab → · Contrast checker → · Palette generator →

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