#752BBB#752BBB

#752BBB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.209 H 302.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#752BBB
RGBrgb(117, 43, 187)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(37.4%, 77%, 0%, 26.7%)
CIE-LABlab(36.17, 57.76, -62.11)
CIE-LCHlch(36.17, 84.82, 312.92°)
OKLaboklab(47.59% 0.1114 -0.1773)
OKLCHoklch(47.59% 0.209 302.1)
XYZxyz(17.1675, 9.0975, 47.8556)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BBB #71BB2B
analogous
#2D2BBB #752BBB #BB2BB9
triadic
#752BBB #BB752B #2BBB75
tetradic
#752BBB #BB2D2B #71BB2B #2BB9BB
square
#752BBB #BB2D2B #71BB2B #2BB9BB
split-complementary
#752BBB #B9BB2B #2BBB2D
monochromatic
#371457 #562089 #752BBB #944DD6 #B27FE2

Accessibility & contrast

On white

7.45
#752BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#752BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BBB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BBB#FFFFFF#000000##FFFFFF
##752BBB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#665172
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752bbb;
/* rgb */ color: rgb(117, 43, 187);
/* oklch */ color: oklch(47.6% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#a36dd0',
    500: '#752bbb',
    950: '#000000',
  },
}
SCSS
$custom: #752bbb;
$custom-light: #a36dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#752bbb",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 270.833,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.20935,
    "h": 302.1
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#752BBB
secondary
#A0CA78
accent
#E64292
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #752BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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