#752AB0#752AB0

#752AB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 305.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#752AB0
RGBrgb(117, 42, 176)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(33.5%, 76.1%, 0%, 31%)
CIE-LABlab(35.15, 55.61, -57.26)
CIE-LCHlch(35.15, 79.82, 314.16°)
OKLaboklab(46.6% 0.1149 -0.163)
OKLCHoklch(46.6% 0.199 305.2)
XYZxyz(15.9988, 8.5725, 41.8777)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB0 #65B02A
analogous
#322AB0 #752AB0 #B02AA8
triadic
#752AB0 #B0752A #2AB075
tetradic
#752AB0 #B0322A #65B02A #2AA8B0
square
#752AB0 #B0322A #65B02A #2AA8B0
split-complementary
#752AB0 #A8B02A #2AB032
monochromatic
#33124D #541E7F #752AB0 #9445D3 #B076DE

Accessibility & contrast

On white

7.74
#752AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#752AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB0#FFFFFF#000000##FFFFFF
##752AB01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6A4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752ab0;
/* rgb */ color: rgb(117, 42, 176);
/* oklch */ color: oklch(46.6% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#a26cc8',
    500: '#752ab0',
    950: '#000000',
  },
}
SCSS
$custom: #752ab0;
$custom-light: #a26cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab0",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 273.582,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.466,
    "c": 0.19941,
    "h": 305.2
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#752AB0
secondary
#96C670
accent
#E5438A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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