#752EAB#752EAB

#752EAB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.190 H 306.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#752EAB
RGBrgb(117, 46, 171)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31.6%, 73.1%, 0%, 32.9%)
CIE-LABlab(35.35, 52.77, -53.94)
CIE-LCHlch(35.35, 75.46, 314.37°)
OKLaboklab(46.63% 0.1121 -0.1533)
OKLCHoklch(46.63% 0.19 306.2)
XYZxyz(15.6622, 8.6763, 39.3698)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EAB #64AB2E
analogous
#362EAB #752EAB #AB2EA3
triadic
#752EAB #AB752E #2EAB75
tetradic
#752EAB #AB362E #64AB2E #2EA3AB
square
#752EAB #AB362E #64AB2E #2EA3AB
split-complementary
#752EAB #A3AB2E #2EAB36
monochromatic
#33144B #54217B #752EAB #9448CE #B079DB

Accessibility & contrast

On white

7.68
#752EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752EAB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EAB#FFFFFF#000000##FFFFFF
##752EAB1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752eab;
/* rgb */ color: rgb(117, 46, 171);
/* oklch */ color: oklch(46.6% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#a26dc5',
    500: '#752eab',
    950: '#000000',
  },
}
SCSS
$custom: #752eab;
$custom-light: #a26dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#752eab",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 274.08,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.18989,
    "h": 306.2
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#752EAB
secondary
#95C372
accent
#E14789
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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