#752EB2#752EB2

#752EB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.197 H 304.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#752EB2
RGBrgb(117, 46, 178)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(34.3%, 74.2%, 0%, 30.2%)
CIE-LABlab(35.89, 54.40, -57.25)
CIE-LCHlch(35.89, 78.97, 313.54°)
OKLaboklab(47.17% 0.1107 -0.163)
OKLCHoklch(47.17% 0.197 304.2)
XYZxyz(16.3472, 8.9503, 42.9772)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB2 #6BB22E
analogous
#332EB2 #752EB2 #B22EAD
triadic
#752EB2 #B2752E #2EB275
tetradic
#752EB2 #B2332E #6BB22E #2EADB2
square
#752EB2 #B2332E #6BB22E #2EADB2
split-complementary
#752EB2 #ADB22E #2EB233
monochromatic
#351551 #552181 #752EB2 #944CD1 #B17DDD

Accessibility & contrast

On white

7.53
#752EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#752EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EB2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB2#FFFFFF#000000##FFFFFF
##752EB21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752eb2;
/* rgb */ color: rgb(117, 46, 178);
/* oklch */ color: oklch(47.2% 0.197 304.2);
Tailwind
colors: {
  custom: {
    50: '#a26eca',
    500: '#752eb2',
    950: '#000000',
  },
}
SCSS
$custom: #752eb2;
$custom-light: #a26eca;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb2",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 272.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.19705,
    "h": 304.2
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#752EB2
secondary
#9BC676
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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