#752DBB#752DBB

#752DBB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.207 H 301.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#752DBB
RGBrgb(117, 45, 187)
HSLhsl(270, 61%, 45%)
HSVhsv(270, 76%, 73%)
CMYKcmyk(37.4%, 75.9%, 0%, 26.7%)
CIE-LABlab(36.45, 56.95, -61.65)
CIE-LCHlch(36.45, 83.93, 312.73°)
OKLaboklab(47.79% 0.1097 -0.1759)
OKLCHoklch(47.79% 0.207 301.9)
XYZxyz(17.2420, 9.2465, 47.8804)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DBB #73BB2D
analogous
#2E2DBB #752DBB #BB2DBA
triadic
#752DBB #BB752D #2DBB75
tetradic
#752DBB #BB2E2D #73BB2D #2DBABB
square
#752DBB #BB2E2D #73BB2D #2DBABB
split-complementary
#752DBB #BABB2D #2DBB2E
monochromatic
#371558 #56218A #752DBB #9450D5 #B282E1

Accessibility & contrast

On white

7.37
#752DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752DBB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DBB#FFFFFF#000000##FFFFFF
##752DBB1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752dbb;
/* rgb */ color: rgb(117, 45, 187);
/* oklch */ color: oklch(47.8% 0.207 301.9);
Tailwind
colors: {
  custom: {
    50: '#a36ed0',
    500: '#752dbb',
    950: '#000000',
  },
}
SCSS
$custom: #752dbb;
$custom-light: #a36ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#752dbb",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 270.423,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47792,
    "c": 0.2073,
    "h": 301.9
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#752DBB
secondary
#A1CA7A
accent
#E44393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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