#7752EF#7752EF

#7752EF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.223 H 287.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7752EF
RGBrgb(119, 82, 239)
HSLhsl(254, 83%, 63%)
HSVhsv(254, 66%, 94%)
CMYKcmyk(50.2%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.22, 52.91, -73.98)
CIE-LCHlch(47.22, 90.96, 305.57°)
OKLaboklab(56.78% 0.0688 -0.2123)
OKLCHoklch(56.78% 0.223 287.9)
XYZxyz(26.2005, 16.1873, 83.3885)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752EF #CAEF52
analogous
#527BEF #7752EF #C552EF
triadic
#7752EF #EF7752 #52EF77
tetradic
#7752EF #EF527B #CAEF52 #52EFC5
square
#7752EF #EF527B #CAEF52 #52EFC5
split-complementary
#7752EF #EFC552 #7BEF52
monochromatic
#3811B6 #4B1AEA #7752EF #A38AF4 #CFC2F9

Accessibility & contrast

On white

4.96
#7752EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7752EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752EF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752EF#FFFFFF#000000##FFFFFF
##7752EF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#4B799A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7752ef;
/* rgb */ color: rgb(119, 82, 239);
/* oklch */ color: oklch(56.8% 0.223 287.9);
Tailwind
colors: {
  custom: {
    50: '#a885f5',
    500: '#7752ef',
    950: '#000000',
  },
}
SCSS
$custom: #7752ef;
$custom-light: #a885f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7752ef",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 254.14,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.22312,
    "h": 287.9
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

primary
#7752EF
secondary
#DDEBB2
accent
#DF06AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7752EF

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

Preview Lab → · Contrast checker → · Palette generator →

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