#752AAB#752AAB

#752AAB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.194 H 306.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#752AAB
RGBrgb(117, 42, 171)
HSLhsl(275, 61%, 42%)
HSVhsv(275, 75%, 67%)
CMYKcmyk(31.6%, 75.4%, 0%, 32.9%)
CIE-LABlab(34.76, 54.46, -54.91)
CIE-LCHlch(34.76, 77.34, 314.77°)
OKLaboklab(46.2% 0.1159 -0.1561)
OKLCHoklch(46.2% 0.194 306.6)
XYZxyz(15.5132, 8.3783, 39.3201)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AAB #60AB2A
analogous
#352AAB #752AAB #AB2AA1
triadic
#752AAB #AB752A #2AAB75
tetradic
#752AAB #AB352A #60AB2A #2AA1AB
square
#752AAB #AB352A #60AB2A #2AA1AB
split-complementary
#752AAB #A1AB2A #2AAB35
monochromatic
#321249 #531E7A #752AAB #9542D1 #B073DD

Accessibility & contrast

On white

7.85
#752AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#752AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AAB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AAB#FFFFFF#000000##FFFFFF
##752AAB1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#6C4A69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752aab;
/* rgb */ color: rgb(117, 42, 171);
/* oklch */ color: oklch(46.2% 0.194 306.6);
Tailwind
colors: {
  custom: {
    50: '#a26bc5',
    500: '#752aab',
    950: '#000000',
  },
}
SCSS
$custom: #752aab;
$custom-light: #a26bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#752aab",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 274.884,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46204,
    "c": 0.19443,
    "h": 306.6
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#752AAB
secondary
#91C46D
accent
#E44487
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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