#7752BA#7752BA

#7752BA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.158 H 297.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7752BA
RGBrgb(119, 82, 186)
HSLhsl(261, 43%, 53%)
HSVhsv(261, 56%, 73%)
CMYKcmyk(36%, 55.9%, 0%, 27.1%)
CIE-LABlab(43.51, 38.32, -49.64)
CIE-LCHlch(43.51, 62.71, 307.67°)
OKLaboklab(52.91% 0.072 -0.1407)
OKLCHoklch(52.91% 0.158 297.1)
XYZxyz(19.4857, 13.5014, 48.0243)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752BA #95BA52
analogous
#5261BA #7752BA #AB52BA
triadic
#7752BA #BA7752 #52BA77
tetradic
#7752BA #BA5261 #95BA52 #52BAAB
square
#7752BA #BA5261 #95BA52 #52BAAB
split-complementary
#7752BA #BAAB52 #61BA52
monochromatic
#402A68 #5B3B94 #7752BA #997ECB #BCAADD

Accessibility & contrast

On white

5.68
#7752BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7752BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752BA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752BA#FFFFFF#000000##FFFFFF
##7752BA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#68677E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7752ba;
/* rgb */ color: rgb(119, 82, 186);
/* oklch */ color: oklch(52.9% 0.158 297.1);
Tailwind
colors: {
  custom: {
    50: '#a284cf',
    500: '#7752ba',
    950: '#000000',
  },
}
SCSS
$custom: #7752ba;
$custom-light: #a284cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7752ba",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 261.346,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.15803,
    "h": 297.1
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#7752BA
secondary
#BACA9D
accent
#D355A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7752BA

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

Preview Lab → · Contrast checker → · Palette generator →

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