#752FBB#752FBB

#752FBB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.205 H 301.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#752FBB
RGBrgb(117, 47, 187)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.4%, 74.9%, 0%, 26.7%)
CIE-LABlab(36.75, 56.11, -61.17)
CIE-LCHlch(36.75, 83.00, 312.53°)
OKLaboklab(48% 0.1079 -0.1745)
OKLCHoklch(48% 0.205 301.7)
XYZxyz(17.3201, 9.4027, 47.9065)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FBB #75BB2F
analogous
#2F2FBB #752FBB #BB2FBB
triadic
#752FBB #BB752F #2FBB75
tetradic
#752FBB #BB2F2F #75BB2F #2FBBBB
square
#752FBB #BB2F2F #75BB2F #2FBBBB
split-complementary
#752FBB #BBBB2F #2FBB2F
monochromatic
#381659 #56238A #752FBB #9453D4 #B284E0

Accessibility & contrast

On white

7.29
#752FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#752FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FBB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FBB#FFFFFF#000000##FFFFFF
##752FBB1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752fbb;
/* rgb */ color: rgb(117, 47, 187);
/* oklch */ color: oklch(48.0% 0.205 301.7);
Tailwind
colors: {
  custom: {
    50: '#a36fd0',
    500: '#752fbb',
    950: '#000000',
  },
}
SCSS
$custom: #752fbb;
$custom-light: #a36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#752fbb",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.20518,
    "h": 301.7
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#752FBB
secondary
#A3C97C
accent
#E34594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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