#752DBA#752DBA

#752DBA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.206 H 302.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#752DBA
RGBrgb(117, 45, 186)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(37.1%, 75.8%, 0%, 27.1%)
CIE-LABlab(36.37, 56.71, -61.19)
CIE-LCHlch(36.37, 83.43, 312.82°)
OKLaboklab(47.71% 0.1099 -0.1746)
OKLCHoklch(47.71% 0.206 302.2)
XYZxyz(17.1353, 9.2038, 47.3186)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DBA #72BA2D
analogous
#2E2DBA #752DBA #BA2DB9
triadic
#752DBA #BA752D #2DBA75
tetradic
#752DBA #BA2E2D #72BA2D #2DB9BA
square
#752DBA #BA2E2D #72BA2D #2DB9BA
split-complementary
#752DBA #B9BA2D #2DBA2E
monochromatic
#371557 #562189 #752DBA #9450D5 #B281E0

Accessibility & contrast

On white

7.39
#752DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#752DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DBA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DBA#FFFFFF#000000##FFFFFF
##752DBA1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#665172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752dba;
/* rgb */ color: rgb(117, 45, 186);
/* oklch */ color: oklch(47.7% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#a36ed0',
    500: '#752dba',
    950: '#000000',
  },
}
SCSS
$custom: #752dba;
$custom-light: #a36ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#752dba",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 270.638,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.20629,
    "h": 302.2
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#752DBA
secondary
#A1C979
accent
#E44492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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