#752AB8#752AB8

#752AB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.207 H 303.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#752AB8
RGBrgb(117, 42, 184)
HSLhsl(272, 63%, 44%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(36.4%, 77.2%, 0%, 27.8%)
CIE-LABlab(35.79, 57.46, -60.97)
CIE-LCHlch(35.79, 83.77, 313.30°)
OKLaboklab(47.25% 0.113 -0.1739)
OKLCHoklch(47.25% 0.207 303)
XYZxyz(16.8138, 8.8985, 46.1699)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB8 #6DB82A
analogous
#2E2AB8 #752AB8 #B82AB4
triadic
#752AB8 #B8752A #2AB875
tetradic
#752AB8 #B82E2A #6DB82A #2AB4B8
square
#752AB8 #B82E2A #6DB82A #2AB4B8
split-complementary
#752AB8 #B4B82A #2AB82E
monochromatic
#361354 #551F86 #752AB8 #944AD6 #B17BE1

Accessibility & contrast

On white

7.55
#752AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#752AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB8
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB8#FFFFFF#000000##FFFFFF
##752AB81.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752ab8;
/* rgb */ color: rgb(117, 42, 184);
/* oklch */ color: oklch(47.2% 0.207 303.0);
Tailwind
colors: {
  custom: {
    50: '#a36cce',
    500: '#752ab8',
    950: '#000000',
  },
}
SCSS
$custom: #752ab8;
$custom-light: #a36cce;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab8",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 271.69,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47249,
    "c": 0.20737,
    "h": 303
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #752AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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