#7752E7#7752E7

#7752E7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.214 H 289.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7752E7
RGBrgb(119, 82, 231)
HSLhsl(255, 76%, 61%)
HSVhsv(255, 65%, 91%)
CMYKcmyk(48.5%, 64.5%, 0%, 9.4%)
CIE-LABlab(46.61, 50.67, -70.47)
CIE-LCHlch(46.61, 86.79, 305.72°)
OKLaboklab(56.15% 0.0697 -0.2019)
OKLCHoklch(56.15% 0.214 289.1)
XYZxyz(25.0447, 15.7250, 77.3014)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752E7 #C2E752
analogous
#5278E7 #7752E7 #C252E7
triadic
#7752E7 #E77752 #52E777
tetradic
#7752E7 #E75278 #C2E752 #52E7C2
square
#7752E7 #E75278 #C2E752 #52E7C2
split-complementary
#7752E7 #E7C252 #78E752
monochromatic
#3B17A7 #4E1FDD #7752E7 #A188EE #CCBDF6

Accessibility & contrast

On white

5.07
#7752E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7752E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752E7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752E7#FFFFFF#000000##FFFFFF
##7752E71.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#517695
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7752e7;
/* rgb */ color: rgb(119, 82, 231);
/* oklch */ color: oklch(56.2% 0.214 289.1);
Tailwind
colors: {
  custom: {
    50: '#a785f0',
    500: '#7752e7',
    950: '#000000',
  },
}
SCSS
$custom: #7752e7;
$custom-light: #a785f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7752e7",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 254.899,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56153,
    "c": 0.21362,
    "h": 289.1
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#7752E7
secondary
#D8E6AF
accent
#D80EA6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7752E7

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

Preview Lab → · Contrast checker → · Palette generator →

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