#752FAA#752FAA

#752FAA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.188 H 306.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#752FAA
RGBrgb(117, 47, 170)
HSLhsl(274, 57%, 43%)
HSVhsv(274, 72%, 67%)
CMYKcmyk(31.2%, 72.4%, 0%, 33.3%)
CIE-LABlab(35.43, 52.10, -53.21)
CIE-LCHlch(35.43, 74.47, 314.39°)
OKLaboklab(46.66% 0.1113 -0.1511)
OKLCHoklch(46.66% 0.188 306.4)
XYZxyz(15.6068, 8.7174, 38.8829)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FAA #64AA2F
analogous
#372FAA #752FAA #AA2FA2
triadic
#752FAA #AA752F #2FAA75
tetradic
#752FAA #AA372F #64AA2F #2FA2AA
square
#752FAA #AA372F #64AA2F #2FA2AA
split-complementary
#752FAA #A2AA2F #2FAA37
monochromatic
#33144A #54227A #752FAA #9449CD #B079DA

Accessibility & contrast

On white

7.65
#752FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#752FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FAA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FAA#FFFFFF#000000##FFFFFF
##752FAA1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6C4C69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752faa;
/* rgb */ color: rgb(117, 47, 170);
/* oklch */ color: oklch(46.7% 0.188 306.4);
Tailwind
colors: {
  custom: {
    50: '#a16ec4',
    500: '#752faa',
    950: '#000000',
  },
}
SCSS
$custom: #752faa;
$custom-light: #a16ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#752faa",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 274.146,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46658,
    "c": 0.18768,
    "h": 306.4
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#752FAA
secondary
#95C272
accent
#E04889
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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