#752ABB#752ABB

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

Color values

HEX#752ABB
RGBrgb(117, 42, 187)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 78%, 73%)
CMYKcmyk(37.4%, 77.5%, 0%, 26.7%)
CIE-LABlab(36.03, 58.16, -62.34)
CIE-LCHlch(36.03, 85.25, 313.01°)
OKLaboklab(47.5% 0.1122 -0.1779)
OKLCHoklch(47.5% 0.21 302.2)
XYZxyz(17.1316, 9.0256, 47.8436)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752ABB #70BB2A
analogous
#2C2ABB #752ABB #BB2AB9
triadic
#752ABB #BB752A #2ABB75
tetradic
#752ABB #BB2C2A #70BB2A #2AB9BB
square
#752ABB #BB2C2A #70BB2A #2AB9BB
split-complementary
#752ABB #B9BB2A #2ABB2C
monochromatic
#361457 #561F89 #752ABB #934CD7 #B17DE2

Accessibility & contrast

On white

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

On black

2.81
#752ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##752ABB#FFFFFF#000000##FFFFFF
##752ABB1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#665072
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752abb;
/* rgb */ color: rgb(117, 42, 187);
/* oklch */ color: oklch(47.5% 0.210 302.2);
Tailwind
colors: {
  custom: {
    50: '#a36cd0',
    500: '#752abb',
    950: '#000000',
  },
}
SCSS
$custom: #752abb;
$custom-light: #a36cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#752abb",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 271.034,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.21034,
    "h": 302.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#752ABB
secondary
#9FCA76
accent
#E64191
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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