#752BA2#752BA2

#752BA2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.184 H 309.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#752BA2
RGBrgb(117, 43, 162)
HSLhsl(277, 58%, 40%)
HSVhsv(277, 73%, 64%)
CMYKcmyk(27.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(34.23, 52.01, -50.36)
CIE-LCHlch(34.23, 72.39, 315.92°)
OKLaboklab(45.62% 0.1166 -0.1427)
OKLCHoklch(45.62% 0.184 309.2)
XYZxyz(14.7203, 8.1186, 34.9670)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA2 #58A22B
analogous
#392BA2 #752BA2 #A22B93
triadic
#752BA2 #A2752B #2BA275
tetradic
#752BA2 #A2392B #58A22B #2B93A2
square
#752BA2 #A2392B #58A22B #2B93A2
split-complementary
#752BA2 #93A22B #2BA239
monochromatic
#2F1141 #521E72 #752BA2 #963ECC #B16FD9

Accessibility & contrast

On white

8.00
#752BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA2#FFFFFF#000000##FFFFFF
##752BA21.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0C519F
Tritanopia (blue-blind)
#6E4664
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752ba2;
/* rgb */ color: rgb(117, 43, 162);
/* oklch */ color: oklch(45.6% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#a16bbe',
    500: '#752ba2',
    950: '#000000',
  },
}
SCSS
$custom: #752ba2;
$custom-light: #a16bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba2",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 277.311,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45617,
    "c": 0.18431,
    "h": 309.2
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#752BA2
secondary
#8AC069
accent
#E14781
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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