#752DAB#752DAB

#752DAB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.191 H 306.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#752DAB
RGBrgb(117, 45, 171)
HSLhsl(274, 58%, 42%)
HSVhsv(274, 74%, 67%)
CMYKcmyk(31.6%, 73.7%, 0%, 32.9%)
CIE-LABlab(35.20, 53.20, -54.19)
CIE-LCHlch(35.20, 75.94, 314.47°)
OKLaboklab(46.52% 0.1131 -0.154)
OKLCHoklch(46.52% 0.191 306.3)
XYZxyz(15.6236, 8.5991, 39.3569)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DAB #63AB2D
analogous
#362DAB #752DAB #AB2DA2
triadic
#752DAB #AB752D #2DAB75
tetradic
#752DAB #AB362D #63AB2D #2DA2AB
square
#752DAB #AB362D #63AB2D #2DA2AB
split-complementary
#752DAB #A2AB2D #2DAB36
monochromatic
#33144A #54207B #752DAB #9447CE #B077DB

Accessibility & contrast

On white

7.72
#752DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#752DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DAB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DAB#FFFFFF#000000##FFFFFF
##752DAB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#6C4B6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752dab;
/* rgb */ color: rgb(117, 45, 171);
/* oklch */ color: oklch(46.5% 0.191 306.3);
Tailwind
colors: {
  custom: {
    50: '#a26dc5',
    500: '#752dab',
    950: '#000000',
  },
}
SCSS
$custom: #752dab;
$custom-light: #a26dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#752dab",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 274.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.19105,
    "h": 306.3
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#752DAB
secondary
#94C371
accent
#E24689
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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