#752BB0#752BB0

#752BB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.198 H 305.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#752BB0
RGBrgb(117, 43, 176)
HSLhsl(273, 61%, 43%)
HSVhsv(273, 76%, 69%)
CMYKcmyk(33.5%, 75.6%, 0%, 31%)
CIE-LABlab(35.29, 55.20, -57.03)
CIE-LCHlch(35.29, 79.37, 314.07°)
OKLaboklab(46.7% 0.114 -0.1623)
OKLCHoklch(46.7% 0.198 305.1)
XYZxyz(16.0347, 8.6443, 41.8897)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BB0 #66B02B
analogous
#322BB0 #752BB0 #B02BA9
triadic
#752BB0 #B0752B #2BB075
tetradic
#752BB0 #B0322B #66B02B #2BA9B0
square
#752BB0 #B0322B #66B02B #2BA9B0
split-complementary
#752BB0 #A9B02B #2BB032
monochromatic
#34134E #541F7F #752BB0 #9446D2 #B078DE

Accessibility & contrast

On white

7.70
#752BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#752BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BB0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BB0#FFFFFF#000000##FFFFFF
##752BB01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6A4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752bb0;
/* rgb */ color: rgb(117, 43, 176);
/* oklch */ color: oklch(46.7% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#a26cc8',
    500: '#752bb0',
    950: '#000000',
  },
}
SCSS
$custom: #752bb0;
$custom-light: #a26cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#752bb0",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 273.383,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.467,
    "c": 0.19833,
    "h": 305.1
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#752BB0
secondary
#97C671
accent
#E4448B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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