#752BA1#752BA1

#752BA1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.183 H 309.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#752BA1
RGBrgb(117, 43, 161)
HSLhsl(278, 58%, 40%)
HSVhsv(278, 73%, 63%)
CMYKcmyk(27.3%, 73.3%, 0%, 36.9%)
CIE-LABlab(34.16, 51.78, -49.87)
CIE-LCHlch(34.16, 71.90, 316.08°)
OKLaboklab(45.54% 0.1168 -0.1413)
OKLCHoklch(45.54% 0.183 309.6)
XYZxyz(14.6317, 8.0832, 34.5007)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA1 #57A12B
analogous
#3A2BA1 #752BA1 #A12B92
triadic
#752BA1 #A1752B #2BA175
tetradic
#752BA1 #A13A2B #57A12B #2B92A1
square
#752BA1 #A13A2B #57A12B #2B92A1
split-complementary
#752BA1 #92A12B #2BA13A
monochromatic
#2F1140 #521E71 #752BA1 #973ECB #B16ED8

Accessibility & contrast

On white

8.03
#752BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA1
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA1#FFFFFF#000000##FFFFFF
##752BA11.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#0F519E
Tritanopia (blue-blind)
#6F4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752ba1;
/* rgb */ color: rgb(117, 43, 161);
/* oklch */ color: oklch(45.5% 0.183 309.6);
Tailwind
colors: {
  custom: {
    50: '#a16bbe',
    500: '#752ba1',
    950: '#000000',
  },
}
SCSS
$custom: #752ba1;
$custom-light: #a16bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba1",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 277.627,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.18331,
    "h": 309.6
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#752BA1
secondary
#89BF69
accent
#E14780
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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