#752DB3#752DB3

#752DB3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.199 H 304.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#752DB3
RGBrgb(117, 45, 179)
HSLhsl(272, 60%, 44%)
HSVhsv(272, 75%, 70%)
CMYKcmyk(34.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(35.82, 55.06, -57.96)
CIE-LCHlch(35.82, 79.94, 313.53°)
OKLaboklab(47.15% 0.1115 -0.1651)
OKLCHoklch(47.15% 0.199 304)
XYZxyz(16.4093, 8.9134, 43.4951)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DB3 #6BB32D
analogous
#322DB3 #752DB3 #B32DAE
triadic
#752DB3 #B3752D #2DB375
tetradic
#752DB3 #B3322D #6BB32D #2DAEB3
square
#752DB3 #B3322D #6BB32D #2DAEB3
split-complementary
#752DB3 #AEB32D #2DB332
monochromatic
#351451 #552182 #752DB3 #944BD2 #B17CDE

Accessibility & contrast

On white

7.55
#752DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#752DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DB3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DB3#FFFFFF#000000##FFFFFF
##752DB31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752db3;
/* rgb */ color: rgb(117, 45, 179);
/* oklch */ color: oklch(47.1% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#a26dcb',
    500: '#752db3',
    950: '#000000',
  },
}
SCSS
$custom: #752db3;
$custom-light: #a26dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#752db3",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 272.239,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.19918,
    "h": 304
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#752DB3
secondary
#9BC775
accent
#E3458E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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