#752CBB#752CBB

#752CBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.208 H 302.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#752CBB
RGBrgb(117, 44, 187)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(37.4%, 76.5%, 0%, 26.7%)
CIE-LABlab(36.31, 57.36, -61.88)
CIE-LCHlch(36.31, 84.38, 312.83°)
OKLaboklab(47.69% 0.1105 -0.1766)
OKLCHoklch(47.69% 0.208 302)
XYZxyz(17.2043, 9.1711, 47.8679)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CBB #72BB2C
analogous
#2D2CBB #752CBB #BB2CBA
triadic
#752CBB #BB752C #2CBB75
tetradic
#752CBB #BB2D2C #72BB2C #2CBABB
square
#752CBB #BB2D2C #72BB2C #2CBABB
split-complementary
#752CBB #BABB2C #2CBB2D
monochromatic
#371558 #562089 #752CBB #944FD6 #B280E1

Accessibility & contrast

On white

7.41
#752CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#752CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CBB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CBB#FFFFFF#000000##FFFFFF
##752CBB1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#665172
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752cbb;
/* rgb */ color: rgb(117, 44, 187);
/* oklch */ color: oklch(47.7% 0.208 302.0);
Tailwind
colors: {
  custom: {
    50: '#a36dd0',
    500: '#752cbb',
    950: '#000000',
  },
}
SCSS
$custom: #752cbb;
$custom-light: #a36dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#752cbb",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 270.629,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.20833,
    "h": 302
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#752CBB
secondary
#A1CA79
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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