#752FBE#752FBE

#752FBE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.208 H 301.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#752FBE
RGBrgb(117, 47, 190)
HSLhsl(269, 60%, 46%)
HSVhsv(269, 75%, 75%)
CMYKcmyk(38.4%, 75.3%, 0%, 25.5%)
CIE-LABlab(36.99, 56.82, -62.54)
CIE-LCHlch(36.99, 84.50, 312.26°)
OKLaboklab(48.24% 0.1072 -0.1786)
OKLCHoklch(48.24% 0.208 301)
XYZxyz(17.6446, 9.5325, 49.6156)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FBE #78BE2F
analogous
#2F30BE #752FBE #BD2FBE
triadic
#752FBE #BE752F #2FBE75
tetradic
#752FBE #BE2F30 #78BE2F #2FBEBD
square
#752FBE #BE2F30 #78BE2F #2FBEBD
split-complementary
#752FBE #BEBD2F #30BE2F
monochromatic
#39175C #57238D #752FBE #9455D5 #B386E1

Accessibility & contrast

On white

7.22
#752FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#752FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FBE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FBE#FFFFFF#000000##FFFFFF
##752FBE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#655475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #752fbe;
/* rgb */ color: rgb(117, 47, 190);
/* oklch */ color: oklch(48.2% 0.208 301.0);
Tailwind
colors: {
  custom: {
    50: '#a36fd3',
    500: '#752fbe',
    950: '#000000',
  },
}
SCSS
$custom: #752fbe;
$custom-light: #a36fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#752fbe",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 269.371,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.20826,
    "h": 301
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#752FBE
secondary
#A5CB7E
accent
#E34496
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #752FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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