#752BBF#752BBF

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

Color values

HEX#752BBF
RGBrgb(117, 43, 191)
HSLhsl(270, 63%, 46%)
HSVhsv(270, 77%, 75%)
CMYKcmyk(38.7%, 77.5%, 0%, 25.1%)
CIE-LABlab(36.50, 58.70, -63.93)
CIE-LCHlch(36.50, 86.79, 312.56°)
OKLaboklab(47.93% 0.1103 -0.1826)
OKLCHoklch(47.93% 0.213 301.1)
XYZxyz(17.6017, 9.2711, 50.1423)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BBF #75BF2B
analogous
#2B2BBF #752BBF #BF2BBF
triadic
#752BBF #BF752B #2BBF75
tetradic
#752BBF #BF2B2B #75BF2B #2BBFBF
square
#752BBF #BF2B2B #75BF2B #2BBFBF
split-complementary
#752BBF #BFBF2B #2BBF2B
monochromatic
#38155B #56208D #752BBF #9450D8 #B282E3

Accessibility & contrast

On white

7.36
#752BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#752BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BBF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BBF#FFFFFF#000000##FFFFFF
##752BBF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#645374
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752bbf;
/* rgb */ color: rgb(117, 43, 191);
/* oklch */ color: oklch(47.9% 0.213 301.1);
Tailwind
colors: {
  custom: {
    50: '#a46dd3',
    500: '#752bbf',
    950: '#000000',
  },
}
SCSS
$custom: #752bbf;
$custom-light: #a46dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#752bbf",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 270,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47926,
    "c": 0.21334,
    "h": 301.1
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#752BBF
secondary
#A3CC7A
accent
#E64294
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #752BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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