#752ABA#752ABA

#752ABA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.209 H 302.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#752ABA
RGBrgb(117, 42, 186)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(37.1%, 77.4%, 0%, 27.1%)
CIE-LABlab(35.95, 57.92, -61.88)
CIE-LCHlch(35.95, 84.76, 313.11°)
OKLaboklab(47.41% 0.1125 -0.1766)
OKLCHoklch(47.41% 0.209 302.5)
XYZxyz(17.0249, 8.9830, 47.2818)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752ABA #6FBA2A
analogous
#2D2ABA #752ABA #BA2AB7
triadic
#752ABA #BA752A #2ABA75
tetradic
#752ABA #BA2D2A #6FBA2A #2AB7BA
square
#752ABA #BA2D2A #6FBA2A #2AB7BA
split-complementary
#752ABA #B7BA2A #2ABA2D
monochromatic
#361356 #561F88 #752ABA #944BD6 #B17DE2

Accessibility & contrast

On white

7.51
#752ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#752ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752ABA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752ABA#FFFFFF#000000##FFFFFF
##752ABA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#665071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752aba;
/* rgb */ color: rgb(117, 42, 186);
/* oklch */ color: oklch(47.4% 0.209 302.5);
Tailwind
colors: {
  custom: {
    50: '#a36cd0',
    500: '#752aba',
    950: '#000000',
  },
}
SCSS
$custom: #752aba;
$custom-light: #a36cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#752aba",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 271.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.20935,
    "h": 302.5
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#752ABA
secondary
#9ECA76
accent
#E64290
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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