#752CAB#752CAB

#752CAB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.192 H 306.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#752CAB
RGBrgb(117, 44, 171)
HSLhsl(274, 59%, 42%)
HSVhsv(274, 74%, 67%)
CMYKcmyk(31.6%, 74.3%, 0%, 32.9%)
CIE-LABlab(35.05, 53.63, -54.43)
CIE-LCHlch(35.05, 76.41, 314.57°)
OKLaboklab(46.41% 0.114 -0.1547)
OKLCHoklch(46.41% 0.192 306.4)
XYZxyz(15.5859, 8.5237, 39.3443)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CAB #62AB2C
analogous
#352CAB #752CAB #AB2CA2
triadic
#752CAB #AB752C #2CAB75
tetradic
#752CAB #AB352C #62AB2C #2CA2AB
square
#752CAB #AB352C #62AB2C #2CA2AB
split-complementary
#752CAB #A2AB2C #2CAB35
monochromatic
#32134A #541F7A #752CAB #9445CF #B076DC

Accessibility & contrast

On white

7.76
#752CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#752CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CAB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CAB#FFFFFF#000000##FFFFFF
##752CAB1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752cab;
/* rgb */ color: rgb(117, 44, 171);
/* oklch */ color: oklch(46.4% 0.192 306.4);
Tailwind
colors: {
  custom: {
    50: '#a26cc5',
    500: '#752cab',
    950: '#000000',
  },
}
SCSS
$custom: #752cab;
$custom-light: #a26cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#752cab",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 274.488,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.19219,
    "h": 306.4
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#752CAB
secondary
#93C36F
accent
#E24688
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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