#752BAB#752BAB

#752BAB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.193 H 306.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#752BAB
RGBrgb(117, 43, 171)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 67%)
CMYKcmyk(31.6%, 74.9%, 0%, 32.9%)
CIE-LABlab(34.90, 54.05, -54.67)
CIE-LCHlch(34.90, 76.88, 314.67°)
OKLaboklab(46.31% 0.115 -0.1554)
OKLCHoklch(46.31% 0.193 306.5)
XYZxyz(15.5491, 8.4501, 39.3321)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BAB #61AB2B
analogous
#352BAB #752BAB #AB2BA1
triadic
#752BAB #AB752B #2BAB75
tetradic
#752BAB #AB352B #61AB2B #2BA1AB
square
#752BAB #AB352B #61AB2B #2BA1AB
split-complementary
#752BAB #A1AB2B #2BAB35
monochromatic
#321249 #541F7A #752BAB #9543D0 #B074DC

Accessibility & contrast

On white

7.81
#752BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#752BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BAB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BAB#FFFFFF#000000##FFFFFF
##752BAB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752bab;
/* rgb */ color: rgb(117, 43, 171);
/* oklch */ color: oklch(46.3% 0.193 306.5);
Tailwind
colors: {
  custom: {
    50: '#a26cc5',
    500: '#752bab',
    950: '#000000',
  },
}
SCSS
$custom: #752bab;
$custom-light: #a26cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#752bab",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 274.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.19332,
    "h": 306.5
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#752BAB
secondary
#92C46E
accent
#E34588
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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