#752CB3#752CB3

#752CB3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.200 H 304.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#752CB3
RGBrgb(117, 44, 179)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(34.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.67, 55.48, -58.19)
CIE-LCHlch(35.67, 80.40, 313.63°)
OKLaboklab(47.04% 0.1124 -0.1658)
OKLCHoklch(47.04% 0.2 304.1)
XYZxyz(16.3716, 8.8380, 43.4825)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CB3 #6AB32C
analogous
#312CB3 #752CB3 #B32CAD
triadic
#752CB3 #B3752C #2CB375
tetradic
#752CB3 #B3312C #6AB32C #2CADB3
square
#752CB3 #B3312C #6AB32C #2CADB3
split-complementary
#752CB3 #ADB32C #2CB331
monochromatic
#351451 #552082 #752CB3 #944AD2 #B17BDF

Accessibility & contrast

On white

7.59
#752CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#752CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CB3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CB3#FFFFFF#000000##FFFFFF
##752CB31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#694E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752cb3;
/* rgb */ color: rgb(117, 44, 179);
/* oklch */ color: oklch(47.0% 0.200 304.1);
Tailwind
colors: {
  custom: {
    50: '#a26dcb',
    500: '#752cb3',
    950: '#000000',
  },
}
SCSS
$custom: #752cb3;
$custom-light: #a26dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#752cb3",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 272.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47042,
    "c": 0.20027,
    "h": 304.1
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#752CB3
secondary
#9AC774
accent
#E4448D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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