#7752CA#7752CA

#7752CA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.178 H 293.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7752CA
RGBrgb(119, 82, 202)
HSLhsl(259, 53%, 56%)
HSVhsv(259, 59%, 79%)
CMYKcmyk(41.1%, 59.4%, 0%, 20.8%)
CIE-LABlab(44.55, 42.64, -57.26)
CIE-LCHlch(44.55, 71.39, 306.68°)
OKLaboklab(54% 0.0719 -0.1631)
OKLCHoklch(54% 0.178 293.8)
XYZxyz(21.2829, 14.2203, 57.4891)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752CA #A5CA52
analogous
#5269CA #7752CA #B352CA
triadic
#7752CA #CA7752 #52CA77
tetradic
#7752CA #CA5269 #A5CA52 #52CAB3
square
#7752CA #CA5269 #A5CA52 #52CAB3
split-complementary
#7752CA #CAB352 #69CA52
monochromatic
#40267C #5934AB #7752CA #9C81D8 #C1B0E7

Accessibility & contrast

On white

5.46
#7752CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7752CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752CA#FFFFFF#000000##FFFFFF
##7752CA1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#616C86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7752ca;
/* rgb */ color: rgb(119, 82, 202);
/* oklch */ color: oklch(54.0% 0.178 293.8);
Tailwind
colors: {
  custom: {
    50: '#a484db',
    500: '#7752ca',
    950: '#000000',
  },
}
SCSS
$custom: #7752ca;
$custom-light: #a484db;
$custom-dark: #000000;
JSON
{
  "hex": "#7752ca",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 258.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.17821,
    "h": 293.8
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7752CA

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

Preview Lab → · Contrast checker → · Palette generator →

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