#752AB2#752AB2

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

Color values

HEX#752AB2
RGBrgb(117, 42, 178)
HSLhsl(273, 62%, 43%)
HSVhsv(273, 76%, 70%)
CMYKcmyk(34.3%, 76.4%, 0%, 30.2%)
CIE-LABlab(35.31, 56.07, -58.19)
CIE-LCHlch(35.31, 80.81, 313.93°)
OKLaboklab(46.76% 0.1144 -0.1657)
OKLCHoklch(46.76% 0.201 304.6)
XYZxyz(16.1981, 8.6523, 42.9275)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AB2 #67B22A
analogous
#312AB2 #752AB2 #B22AAB
triadic
#752AB2 #B2752A #2AB275
tetradic
#752AB2 #B2312A #67B22A #2AABB2
square
#752AB2 #B2312A #67B22A #2AABB2
split-complementary
#752AB2 #ABB22A #2AB231
monochromatic
#34134F #541E80 #752AB2 #9446D3 #B177DF

Accessibility & contrast

On white

7.69
#752AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#752AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AB2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AB2#FFFFFF#000000##FFFFFF
##752AB21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752ab2;
/* rgb */ color: rgb(117, 42, 178);
/* oklch */ color: oklch(46.8% 0.201 304.6);
Tailwind
colors: {
  custom: {
    50: '#a26cca',
    500: '#752ab2',
    950: '#000000',
  },
}
SCSS
$custom: #752ab2;
$custom-light: #a26cca;
$custom-dark: #000000;
JSON
{
  "hex": "#752ab2",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 273.088,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.2014,
    "h": 304.6
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#752AB2
secondary
#97C771
accent
#E5438C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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