#752AB3#752AB3

#752AB3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.202 H 304.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#752AB3
RGBrgb(117, 42, 179)
HSLhsl(273, 62%, 43%)
HSVhsv(273, 77%, 70%)
CMYKcmyk(34.6%, 76.5%, 0%, 29.8%)
CIE-LABlab(35.39, 56.30, -58.66)
CIE-LCHlch(35.39, 81.30, 313.82°)
OKLaboklab(46.84% 0.1142 -0.1671)
OKLCHoklch(46.84% 0.202 304.3)
XYZxyz(16.2989, 8.6926, 43.4583)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB3 #68B32A
analogous
#312AB3 #752AB3 #B32AAC
triadic
#752AB3 #B3752A #2AB375
tetradic
#752AB3 #B3312A #68B32A #2AACB3
square
#752AB3 #B3312A #68B32A #2AACB3
split-complementary
#752AB3 #ACB32A #2AB331
monochromatic
#341350 #551E81 #752AB3 #9446D4 #B178DF

Accessibility & contrast

On white

7.67
#752AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752AB3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB3#FFFFFF#000000##FFFFFF
##752AB31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#694D6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752ab3;
/* rgb */ color: rgb(117, 42, 179);
/* oklch */ color: oklch(46.8% 0.202 304.3);
Tailwind
colors: {
  custom: {
    50: '#a26ccb',
    500: '#752ab3',
    950: '#000000',
  },
}
SCSS
$custom: #752ab3;
$custom-light: #a26ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab3",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 272.847,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46841,
    "c": 0.20239,
    "h": 304.3
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#752AB3
secondary
#98C772
accent
#E5438C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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