#752EB3#752EB3

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

Color values

HEX#752EB3
RGBrgb(117, 46, 179)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(34.6%, 74.3%, 0%, 29.8%)
CIE-LABlab(35.97, 54.64, -57.71)
CIE-LCHlch(35.97, 79.47, 313.43°)
OKLaboklab(47.25% 0.1105 -0.1644)
OKLCHoklch(47.25% 0.198 303.9)
XYZxyz(16.4479, 8.9906, 43.5079)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB3 #6CB32E
analogous
#332EB3 #752EB3 #B32EAF
triadic
#752EB3 #B3752E #2EB375
tetradic
#752EB3 #B3332E #6CB32E #2EAFB3
square
#752EB3 #B3332E #6CB32E #2EAFB3
split-complementary
#752EB3 #AFB32E #2EB333
monochromatic
#351552 #552182 #752EB3 #944DD1 #B17EDE

Accessibility & contrast

On white

7.50
#752EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#752EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EB3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB3#FFFFFF#000000##FFFFFF
##752EB31.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#694F6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752eb3;
/* rgb */ color: rgb(117, 46, 179);
/* oklch */ color: oklch(47.3% 0.198 303.9);
Tailwind
colors: {
  custom: {
    50: '#a26ecb',
    500: '#752eb3',
    950: '#000000',
  },
}
SCSS
$custom: #752eb3;
$custom-light: #a26ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb3",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 272.03,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.19808,
    "h": 303.9
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#752EB3
secondary
#9CC676
accent
#E2468F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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