#752FB2#752FB2

#752FB2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.196 H 304.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#752FB2
RGBrgb(117, 47, 178)
HSLhsl(272, 58%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(34.3%, 73.6%, 0%, 30.2%)
CIE-LABlab(36.04, 53.97, -57.00)
CIE-LCHlch(36.04, 78.50, 313.44°)
OKLaboklab(47.28% 0.1098 -0.1623)
OKLCHoklch(47.28% 0.196 304.1)
XYZxyz(16.3867, 9.0293, 42.9904)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FB2 #6CB22F
analogous
#342FB2 #752FB2 #B22FAE
triadic
#752FB2 #B2752F #2FB275
tetradic
#752FB2 #B2342F #6CB22F #2FAEB2
square
#752FB2 #B2342F #6CB22F #2FAEB2
split-complementary
#752FB2 #AEB22F #2FB234
monochromatic
#351551 #552282 #752FB2 #944ED0 #B17EDD

Accessibility & contrast

On white

7.48
#752FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#752FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FB2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FB2#FFFFFF#000000##FFFFFF
##752FB21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#694F6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752fb2;
/* rgb */ color: rgb(117, 47, 178);
/* oklch */ color: oklch(47.3% 0.196 304.1);
Tailwind
colors: {
  custom: {
    50: '#a26eca',
    500: '#752fb2',
    950: '#000000',
  },
}
SCSS
$custom: #752fb2;
$custom-light: #a26eca;
$custom-dark: #000000;
JSON
{
  "hex": "#752fb2",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 272.061,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.19592,
    "h": 304.1
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#752FB2
secondary
#9CC677
accent
#E1468F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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