#752BB1#752BB1

#752BB1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.199 H 304.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#752BB1
RGBrgb(117, 43, 177)
HSLhsl(273, 61%, 43%)
HSVhsv(273, 76%, 69%)
CMYKcmyk(33.9%, 75.7%, 0%, 30.6%)
CIE-LABlab(35.37, 55.43, -57.50)
CIE-LCHlch(35.37, 79.86, 313.95°)
OKLaboklab(46.78% 0.1137 -0.1637)
OKLCHoklch(46.78% 0.199 304.8)
XYZxyz(16.1340, 8.6841, 42.4127)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BB1 #67B12B
analogous
#322BB1 #752BB1 #B12BAA
triadic
#752BB1 #B1752B #2BB175
tetradic
#752BB1 #B1322B #67B12B #2BAAB1
square
#752BB1 #B1322B #67B12B #2BAAB1
split-complementary
#752BB1 #AAB12B #2BB132
monochromatic
#34134F #541F80 #752BB1 #9447D2 #B178DE

Accessibility & contrast

On white

7.67
#752BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#752BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BB1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BB1#FFFFFF#000000##FFFFFF
##752BB11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6A4D6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752bb1;
/* rgb */ color: rgb(117, 43, 177);
/* oklch */ color: oklch(46.8% 0.199 304.8);
Tailwind
colors: {
  custom: {
    50: '#a26cc9',
    500: '#752bb1',
    950: '#000000',
  },
}
SCSS
$custom: #752bb1;
$custom-light: #a26cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#752bb1",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 273.134,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4678,
    "c": 0.19934,
    "h": 304.8
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#752BB1
secondary
#97C672
accent
#E4448C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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