#752BB9#752BB9

#752BB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.207 H 302.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#752BB9
RGBrgb(117, 43, 185)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(36.8%, 76.8%, 0%, 27.5%)
CIE-LABlab(36.01, 57.29, -61.20)
CIE-LCHlch(36.01, 83.83, 313.11°)
OKLaboklab(47.43% 0.1119 -0.1746)
OKLCHoklch(47.43% 0.207 302.6)
XYZxyz(16.9549, 9.0124, 46.7359)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BB9 #6FB92B
analogous
#2E2BB9 #752BB9 #B92BB6
triadic
#752BB9 #B9752B #2BB975
tetradic
#752BB9 #B92E2B #6FB92B #2BB6B9
square
#752BB9 #B92E2B #6FB92B #2BB6B9
split-complementary
#752BB9 #B6B92B #2BB92E
monochromatic
#361456 #561F87 #752BB9 #944CD5 #B17EE1

Accessibility & contrast

On white

7.49
#752BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#752BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BB9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BB9#FFFFFF#000000##FFFFFF
##752BB91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752bb9;
/* rgb */ color: rgb(117, 43, 185);
/* oklch */ color: oklch(47.4% 0.207 302.6);
Tailwind
colors: {
  custom: {
    50: '#a36dcf',
    500: '#752bb9',
    950: '#000000',
  },
}
SCSS
$custom: #752bb9;
$custom-light: #a36dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#752bb9",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 271.268,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.20734,
    "h": 302.6
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#752BB9
secondary
#9EC976
accent
#E54290
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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