#752DB4#752DB4

#752DB4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.200 H 303.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#752DB4
RGBrgb(117, 45, 180)
HSLhsl(272, 60%, 44%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(35%, 75%, 0%, 29.4%)
CIE-LABlab(35.90, 55.30, -58.42)
CIE-LCHlch(35.90, 80.44, 313.43°)
OKLaboklab(47.23% 0.1113 -0.1664)
OKLCHoklch(47.23% 0.2 303.8)
XYZxyz(16.5108, 8.9540, 44.0296)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DB4 #6CB42D
analogous
#322DB4 #752DB4 #B42DB0
triadic
#752DB4 #B4752D #2DB475
tetradic
#752DB4 #B4322D #6CB42D #2DB0B4
square
#752DB4 #B4322D #6CB42D #2DB0B4
split-complementary
#752DB4 #B0B42D #2DB432
monochromatic
#351552 #552183 #752DB4 #944CD2 #B17DDE

Accessibility & contrast

On white

7.52
#752DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#752DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DB4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DB4#FFFFFF#000000##FFFFFF
##752DB41.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#684F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752db4;
/* rgb */ color: rgb(117, 45, 180);
/* oklch */ color: oklch(47.2% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#a26dcb',
    500: '#752db4',
    950: '#000000',
  },
}
SCSS
$custom: #752db4;
$custom-light: #a26dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#752db4",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 272,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.2002,
    "h": 303.8
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#752DB4
secondary
#9CC776
accent
#E3458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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