#7752E8#7752E8

#7752E8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.215 H 288.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7752E8
RGBrgb(119, 82, 232)
HSLhsl(255, 77%, 62%)
HSVhsv(255, 65%, 91%)
CMYKcmyk(48.7%, 64.7%, 0%, 9%)
CIE-LABlab(46.69, 50.95, -70.91)
CIE-LCHlch(46.69, 87.32, 305.70°)
OKLaboklab(56.23% 0.0696 -0.2032)
OKLCHoklch(56.23% 0.215 288.9)
XYZxyz(25.1863, 15.7816, 78.0474)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752E8 #C3E852
analogous
#5278E8 #7752E8 #C252E8
triadic
#7752E8 #E87752 #52E877
tetradic
#7752E8 #E85278 #C3E852 #52E8C2
square
#7752E8 #E85278 #C3E852 #52E8C2
split-complementary
#7752E8 #E8C252 #78E852
monochromatic
#3B16A9 #4D1EDF #7752E8 #A188EF #CCBEF6

Accessibility & contrast

On white

5.05
#7752E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7752E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752E8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752E8#FFFFFF#000000##FFFFFF
##7752E81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#507796
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7752e8;
/* rgb */ color: rgb(119, 82, 232);
/* oklch */ color: oklch(56.2% 0.215 288.9);
Tailwind
colors: {
  custom: {
    50: '#a785f0',
    500: '#7752e8',
    950: '#000000',
  },
}
SCSS
$custom: #7752e8;
$custom-light: #a785f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7752e8",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 254.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.21481,
    "h": 288.9
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#7752E8
secondary
#D9E7AF
accent
#D90DA6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7752E8

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

Preview Lab → · Contrast checker → · Palette generator →

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