#752BB4#752BB4

#752BB4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.202 H 304.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#752BB4
RGBrgb(117, 43, 180)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35%, 76.1%, 0%, 29.4%)
CIE-LABlab(35.61, 56.12, -58.89)
CIE-LCHlch(35.61, 81.35, 313.62°)
OKLaboklab(47.02% 0.1131 -0.1678)
OKLCHoklch(47.02% 0.202 304)
XYZxyz(16.4363, 8.8050, 44.0048)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BB4 #6AB42B
analogous
#302BB4 #752BB4 #B42BAE
triadic
#752BB4 #B4752B #2BB475
tetradic
#752BB4 #B4302B #6AB42B #2BAEB4
square
#752BB4 #B4302B #6AB42B #2BAEB4
split-complementary
#752BB4 #AEB42B #2BB430
monochromatic
#351351 #551F83 #752BB4 #9449D3 #B17ADF

Accessibility & contrast

On white

7.61
#752BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#752BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BB4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BB4#FFFFFF#000000##FFFFFF
##752BB41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#694E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752bb4;
/* rgb */ color: rgb(117, 43, 180);
/* oklch */ color: oklch(47.0% 0.202 304.0);
Tailwind
colors: {
  custom: {
    50: '#a36ccb',
    500: '#752bb4',
    950: '#000000',
  },
}
SCSS
$custom: #752bb4;
$custom-light: #a36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#752bb4",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 272.409,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.20234,
    "h": 304
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#752BB4
secondary
#9AC773
accent
#E5438D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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