#752BB3#752BB3

#752BB3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.201 H 304.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#752BB3
RGBrgb(117, 43, 179)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 70%)
CMYKcmyk(34.6%, 76%, 0%, 29.8%)
CIE-LABlab(35.53, 55.89, -58.43)
CIE-LCHlch(35.53, 80.86, 313.73°)
OKLaboklab(46.94% 0.1133 -0.1664)
OKLCHoklch(46.94% 0.201 304.2)
XYZxyz(16.3348, 8.7644, 43.4702)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BB3 #69B32B
analogous
#312BB3 #752BB3 #B32BAD
triadic
#752BB3 #B3752B #2BB375
tetradic
#752BB3 #B3312B #69B32B #2BADB3
square
#752BB3 #B3312B #69B32B #2BADB3
split-complementary
#752BB3 #ADB32B #2BB331
monochromatic
#341350 #551F82 #752BB3 #9448D3 #B179DF

Accessibility & contrast

On white

7.63
#752BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#752BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BB3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BB3#FFFFFF#000000##FFFFFF
##752BB31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#694D6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752bb3;
/* rgb */ color: rgb(117, 43, 179);
/* oklch */ color: oklch(46.9% 0.201 304.2);
Tailwind
colors: {
  custom: {
    50: '#a26ccb',
    500: '#752bb3',
    950: '#000000',
  },
}
SCSS
$custom: #752bb3;
$custom-light: #a26ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#752bb3",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 272.647,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.20134,
    "h": 304.2
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#752BB3
secondary
#99C773
accent
#E4438D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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