#7752DB#7752DB

#7752DB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.199 H 290.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7752DB
RGBrgb(119, 82, 219)
HSLhsl(256, 66%, 59%)
HSVhsv(256, 63%, 86%)
CMYKcmyk(45.7%, 62.6%, 0%, 14.1%)
CIE-LABlab(45.73, 47.33, -65.09)
CIE-LCHlch(45.73, 80.48, 306.02°)
OKLaboklab(55.24% 0.0709 -0.1861)
OKLCHoklch(55.24% 0.199 290.9)
XYZxyz(23.4076, 15.0702, 68.6796)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7752DB #B6DB52
analogous
#5272DB #7752DB #BB52DB
triadic
#7752DB #DB7752 #52DB77
tetradic
#7752DB #DB5272 #B6DB52 #52DBBB
square
#7752DB #DB5272 #B6DB52 #52DBBB
split-complementary
#7752DB #DBBB52 #72DB52
monochromatic
#3E1F94 #5429C6 #7752DB #9F85E6 #C7B7F0

Accessibility & contrast

On white

5.23
#7752DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7752DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7752DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7752DB#FFFFFF#000000##FFFFFF
##7752DB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#58728F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7752db;
/* rgb */ color: rgb(119, 82, 219);
/* oklch */ color: oklch(55.2% 0.199 290.9);
Tailwind
colors: {
  custom: {
    50: '#a584e7',
    500: '#7752db',
    950: '#000000',
  },
}
SCSS
$custom: #7752db;
$custom-light: #a584e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7752db",
  "rgb": {
    "r": 119,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 256.204,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.19916,
    "h": 290.9
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#7752DB
secondary
#D1DFAA
accent
#E93FBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7752DB

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

Preview Lab → · Contrast checker → · Palette generator →

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