#752EBB#752EBB

#752EBB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.206 H 301.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#752EBB
RGBrgb(117, 46, 187)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.4%, 75.4%, 0%, 26.7%)
CIE-LABlab(36.60, 56.53, -61.41)
CIE-LCHlch(36.60, 83.47, 312.63°)
OKLaboklab(47.89% 0.1088 -0.1752)
OKLCHoklch(47.89% 0.206 301.8)
XYZxyz(17.2806, 9.3237, 47.8933)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EBB #74BB2E
analogous
#2F2EBB #752EBB #BB2EBA
triadic
#752EBB #BB752E #2EBB75
tetradic
#752EBB #BB2F2E #74BB2E #2EBABB
square
#752EBB #BB2F2E #74BB2E #2EBABB
split-complementary
#752EBB #BABB2E #2EBB2F
monochromatic
#381659 #56228A #752EBB #9452D4 #B283E0

Accessibility & contrast

On white

7.33
#752EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752EBB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EBB#FFFFFF#000000##FFFFFF
##752EBB1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#665273
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752ebb;
/* rgb */ color: rgb(117, 46, 187);
/* oklch */ color: oklch(47.9% 0.206 301.8);
Tailwind
colors: {
  custom: {
    50: '#a36ed0',
    500: '#752ebb',
    950: '#000000',
  },
}
SCSS
$custom: #752ebb;
$custom-light: #a36ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#752ebb",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 270.213,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.20626,
    "h": 301.8
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#752EBB
secondary
#A2CA7B
accent
#E44493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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