#752FAB#752FAB

#752FAB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.189 H 306.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#752FAB
RGBrgb(117, 47, 171)
HSLhsl(274, 57%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31.6%, 72.5%, 0%, 32.9%)
CIE-LABlab(35.51, 52.33, -53.69)
CIE-LCHlch(35.51, 74.97, 314.26°)
OKLaboklab(46.74% 0.1111 -0.1525)
OKLCHoklch(46.74% 0.189 306.1)
XYZxyz(15.7017, 8.7554, 39.3829)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FAB #65AB2F
analogous
#372FAB #752FAB #AB2FA3
triadic
#752FAB #AB752F #2FAB75
tetradic
#752FAB #AB372F #65AB2F #2FA3AB
square
#752FAB #AB372F #65AB2F #2FA3AB
split-complementary
#752FAB #A3AB2F #2FAB37
monochromatic
#33154B #54227B #752FAB #944ACD #B07ADA

Accessibility & contrast

On white

7.63
#752FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#752FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FAB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FAB#FFFFFF#000000##FFFFFF
##752FAB1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752fab;
/* rgb */ color: rgb(117, 47, 171);
/* oklch */ color: oklch(46.7% 0.189 306.1);
Tailwind
colors: {
  custom: {
    50: '#a26ec5',
    500: '#752fab',
    950: '#000000',
  },
}
SCSS
$custom: #752fab;
$custom-light: #a26ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#752fab",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 273.871,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46735,
    "c": 0.18871,
    "h": 306.1
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#752FAB
secondary
#96C373
accent
#E0488A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #752FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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