#752EBA#752EBA

#752EBA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.205 H 302.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#752EBA
RGBrgb(117, 46, 186)
HSLhsl(270, 60%, 45%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.1%, 75.3%, 0%, 27.1%)
CIE-LABlab(36.52, 56.29, -60.95)
CIE-LCHlch(36.52, 82.97, 312.72°)
OKLaboklab(47.81% 0.109 -0.1739)
OKLCHoklch(47.81% 0.205 302.1)
XYZxyz(17.1739, 9.2810, 47.3315)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EBA #73BA2E
analogous
#2F2EBA #752EBA #BA2EB9
triadic
#752EBA #BA752E #2EBA75
tetradic
#752EBA #BA2F2E #73BA2E #2EB9BA
square
#752EBA #BA2F2E #73BA2E #2EB9BA
split-complementary
#752EBA #B9BA2E #2EBA2F
monochromatic
#371658 #562289 #752EBA #9451D4 #B282E0

Accessibility & contrast

On white

7.35
#752EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#752EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EBA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EBA#FFFFFF#000000##FFFFFF
##752EBA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752eba;
/* rgb */ color: rgb(117, 46, 186);
/* oklch */ color: oklch(47.8% 0.205 302.1);
Tailwind
colors: {
  custom: {
    50: '#a36ed0',
    500: '#752eba',
    950: '#000000',
  },
}
SCSS
$custom: #752eba;
$custom-light: #a36ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#752eba",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 270.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.20523,
    "h": 302.1
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#752EBA
secondary
#A1C97B
accent
#E34493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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