#752BB7#752BB7

#752BB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.205 H 303.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#752BB7
RGBrgb(117, 43, 183)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(36.1%, 76.5%, 0%, 28.2%)
CIE-LABlab(35.85, 56.82, -60.28)
CIE-LCHlch(35.85, 82.84, 313.31°)
OKLaboklab(47.27% 0.1124 -0.1719)
OKLCHoklch(47.27% 0.205 303.2)
XYZxyz(16.7452, 8.9286, 45.6318)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BB7 #6DB72B
analogous
#2F2BB7 #752BB7 #B72BB3
triadic
#752BB7 #B7752B #2BB775
tetradic
#752BB7 #B72F2B #6DB72B #2BB3B7
square
#752BB7 #B72F2B #6DB72B #2BB3B7
split-complementary
#752BB7 #B3B72B #2BB72F
monochromatic
#361454 #551F85 #752BB7 #944BD5 #B17CE0

Accessibility & contrast

On white

7.54
#752BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752BB7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BB7#FFFFFF#000000##FFFFFF
##752BB71.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#674F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752bb7;
/* rgb */ color: rgb(117, 43, 183);
/* oklch */ color: oklch(47.3% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#a36cce',
    500: '#752bb7',
    950: '#000000',
  },
}
SCSS
$custom: #752bb7;
$custom-light: #a36cce;
$custom-dark: #000000;
JSON
{
  "hex": "#752bb7",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 271.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47265,
    "c": 0.20535,
    "h": 303.2
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#752BB7
secondary
#9DC975
accent
#E5438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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