#752DB9#752DB9

#752DB9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.205 H 302.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#752DB9
RGBrgb(117, 45, 185)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(36.8%, 75.7%, 0%, 27.5%)
CIE-LABlab(36.29, 56.47, -60.73)
CIE-LCHlch(36.29, 82.93, 312.92°)
OKLaboklab(47.63% 0.1101 -0.1732)
OKLCHoklch(47.63% 0.205 302.4)
XYZxyz(17.0294, 9.1614, 46.7607)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DB9 #71B92D
analogous
#2F2DB9 #752DB9 #B92DB7
triadic
#752DB9 #B9752D #2DB975
tetradic
#752DB9 #B92F2D #71B92D #2DB7B9
square
#752DB9 #B92F2D #71B92D #2DB7B9
split-complementary
#752DB9 #B7B92D #2DB92F
monochromatic
#371557 #562188 #752DB9 #944FD4 #B280E0

Accessibility & contrast

On white

7.41
#752DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#752DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DB9
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DB9#FFFFFF#000000##FFFFFF
##752DB91.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#675171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752db9;
/* rgb */ color: rgb(117, 45, 185);
/* oklch */ color: oklch(47.6% 0.205 302.4);
Tailwind
colors: {
  custom: {
    50: '#a36ecf',
    500: '#752db9',
    950: '#000000',
  },
}
SCSS
$custom: #752db9;
$custom-light: #a36ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#752db9",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 270.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.20527,
    "h": 302.4
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#752DB9
secondary
#A0C979
accent
#E44492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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