#752FB9#752FB9

#752FB9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.203 H 302.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#752FB9
RGBrgb(117, 47, 185)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(36.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(36.59, 55.63, -60.25)
CIE-LCHlch(36.59, 82.00, 312.72°)
OKLaboklab(47.84% 0.1083 -0.1718)
OKLCHoklch(47.84% 0.203 302.2)
XYZxyz(17.1075, 9.3177, 46.7867)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FB9 #73B92F
analogous
#302FB9 #752FB9 #B92FB8
triadic
#752FB9 #B9752F #2FB975
tetradic
#752FB9 #B9302F #73B92F #2FB8B9
square
#752FB9 #B9302F #73B92F #2FB8B9
split-complementary
#752FB9 #B8B92F #2FB930
monochromatic
#371657 #562388 #752FB9 #9452D3 #B283DF

Accessibility & contrast

On white

7.33
#752FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#752FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FB9
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FB9#FFFFFF#000000##FFFFFF
##752FB91.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#675272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752fb9;
/* rgb */ color: rgb(117, 47, 185);
/* oklch */ color: oklch(47.8% 0.203 302.2);
Tailwind
colors: {
  custom: {
    50: '#a36fcf',
    500: '#752fb9',
    950: '#000000',
  },
}
SCSS
$custom: #752fb9;
$custom-light: #a36fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#752fb9",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 270.435,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.20313,
    "h": 302.2
  },
  "luminance": 0.09318
}

Semantic roles & 50–950 ramp

primary
#752FB9
secondary
#A1C97B
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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