#7752CB#7752CB

#7752CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.179 H 293.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7752CB
RGBrgb(119, 82, 203)
HSLhsl(258, 54%, 56%)
HSVhsv(258, 60%, 80%)
CMYKcmyk(41.4%, 59.6%, 0%, 20.4%)
CIE-LABlab(44.61, 42.92, -57.72)
CIE-LCHlch(44.61, 71.93, 306.63°)
OKLaboklab(54.07% 0.0719 -0.1645)
OKLCHoklch(54.07% 0.179 293.6)
XYZxyz(21.4016, 14.2678, 58.1147)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752CB #A6CB52
analogous
#5269CB #7752CB #B352CB
triadic
#7752CB #CB7752 #52CB77
tetradic
#7752CB #CB5269 #A6CB52 #52CBB3
square
#7752CB #CB5269 #A6CB52 #52CBB3
split-complementary
#7752CB #CBB352 #69CB52
monochromatic
#40267D #5934AC #7752CB #9C81D9 #C1B0E7

Accessibility & contrast

On white

5.45
#7752CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7752CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752CB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752CB#FFFFFF#000000##FFFFFF
##7752CB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#616D87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7752cb;
/* rgb */ color: rgb(119, 82, 203);
/* oklch */ color: oklch(54.1% 0.179 293.6);
Tailwind
colors: {
  custom: {
    50: '#a484dc',
    500: '#7752cb',
    950: '#000000',
  },
}
SCSS
$custom: #7752cb;
$custom-light: #a484dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7752cb",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 258.347,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.17946,
    "h": 293.6
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#7752CB
secondary
#C6D5A3
accent
#DD4BB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7752CB

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

Preview Lab → · Contrast checker → · Palette generator →

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