#752DB8#752DB8

#752DB8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.204 H 302.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#752DB8
RGBrgb(117, 45, 184)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 72%)
CMYKcmyk(36.4%, 75.5%, 0%, 27.8%)
CIE-LABlab(36.21, 56.24, -60.27)
CIE-LCHlch(36.21, 82.43, 313.02°)
OKLaboklab(47.55% 0.1104 -0.1719)
OKLCHoklch(47.55% 0.204 302.7)
XYZxyz(16.9242, 9.1193, 46.2067)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DB8 #70B82D
analogous
#2F2DB8 #752DB8 #B82DB6
triadic
#752DB8 #B8752D #2DB875
tetradic
#752DB8 #B82F2D #70B82D #2DB6B8
square
#752DB8 #B82F2D #70B82D #2DB6B8
split-complementary
#752DB8 #B6B82D #2DB82F
monochromatic
#361556 #562187 #752DB8 #934ED4 #B180E0

Accessibility & contrast

On white

7.44
#752DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#752DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DB8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DB8#FFFFFF#000000##FFFFFF
##752DB81.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#675071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752db8;
/* rgb */ color: rgb(117, 45, 184);
/* oklch */ color: oklch(47.5% 0.204 302.7);
Tailwind
colors: {
  custom: {
    50: '#a36dce',
    500: '#752db8',
    950: '#000000',
  },
}
SCSS
$custom: #752db8;
$custom-light: #a36dce;
$custom-dark: #000000;
JSON
{
  "hex": "#752db8",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 271.079,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.20426,
    "h": 302.7
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#752DB8
secondary
#9FC978
accent
#E44491
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752DB8

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

Preview Lab → · Contrast checker → · Palette generator →

#752DB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva