#752FB7#752FB7

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

Color values

HEX#752FB7
RGBrgb(117, 47, 183)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 74%, 72%)
CMYKcmyk(36.1%, 74.3%, 0%, 28.2%)
CIE-LABlab(36.43, 55.15, -59.33)
CIE-LCHlch(36.43, 81.00, 312.91°)
OKLaboklab(47.68% 0.1088 -0.1691)
OKLCHoklch(47.68% 0.201 302.7)
XYZxyz(16.8979, 9.2338, 45.6826)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FB7 #71B72F
analogous
#312FB7 #752FB7 #B72FB5
triadic
#752FB7 #B7752F #2FB775
tetradic
#752FB7 #B7312F #71B72F #2FB5B7
square
#752FB7 #B7312F #71B72F #2FB5B7
split-complementary
#752FB7 #B5B72F #2FB731
monochromatic
#371656 #562286 #752FB7 #9451D2 #B282DF

Accessibility & contrast

On white

7.38
#752FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#752FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FB7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FB7#FFFFFF#000000##FFFFFF
##752FB71.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#675171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752fb7;
/* rgb */ color: rgb(117, 47, 183);
/* oklch */ color: oklch(47.7% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#a36ece',
    500: '#752fb7',
    950: '#000000',
  },
}
SCSS
$custom: #752fb7;
$custom-light: #a36ece;
$custom-dark: #000000;
JSON
{
  "hex": "#752fb7",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 270.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.20107,
    "h": 302.7
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#752FB7
secondary
#A0C87A
accent
#E24592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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