#754BB4#754BB4

#754BB4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.161 H 299.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#754BB4
RGBrgb(117, 75, 180)
HSLhsl(264, 41%, 50%)
HSVhsv(264, 58%, 71%)
CMYKcmyk(35%, 58.3%, 0%, 29.4%)
CIE-LABlab(41.39, 40.23, -49.54)
CIE-LCHlch(41.39, 63.82, 309.08°)
OKLaboklab(51.18% 0.0781 -0.1404)
OKLCHoklch(51.18% 0.161 299.1)
XYZxyz(18.0884, 12.1092, 44.5555)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BB4 #8AB44B
analogous
#4B56B4 #754BB4 #A94BB4
triadic
#754BB4 #B4754B #4BB475
tetradic
#754BB4 #B44B56 #8AB44B #4BB4A9
square
#754BB4 #B44B56 #8AB44B #4BB4A9
split-complementary
#754BB4 #B4A94B #56B44B
monochromatic
#3D275E #593989 #754BB4 #9676C6 #B7A1D8

Accessibility & contrast

On white

6.14
#754BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#754BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BB4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BB4#FFFFFF#000000##FFFFFF
##754BB41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1562B7
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#676178
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754bb4;
/* rgb */ color: rgb(117, 75, 180);
/* oklch */ color: oklch(51.2% 0.161 299.1);
Tailwind
colors: {
  custom: {
    50: '#a17fcb',
    500: '#754bb4',
    950: '#000000',
  },
}
SCSS
$custom: #754bb4;
$custom-light: #a17fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#754bb4",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 264,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.1607,
    "h": 299.1
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#754BB4
secondary
#B2C596
accent
#D157A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754BB4

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

Preview Lab → · Contrast checker → · Palette generator →

#754BB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva