#754BB5#754BB5

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

Color values

HEX#754BB5
RGBrgb(117, 75, 181)
HSLhsl(264, 42%, 50%)
HSVhsv(264, 59%, 71%)
CMYKcmyk(35.4%, 58.6%, 0%, 29%)
CIE-LABlab(41.45, 40.50, -50.02)
CIE-LCHlch(41.45, 64.36, 308.99°)
OKLaboklab(51.25% 0.0781 -0.1419)
OKLCHoklch(51.25% 0.162 298.8)
XYZxyz(18.1906, 12.1501, 45.0939)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BB5 #8BB54B
analogous
#4B56B5 #754BB5 #AA4BB5
triadic
#754BB5 #B5754B #4BB575
tetradic
#754BB5 #B54B56 #8BB54B #4BB5AA
square
#754BB5 #B54B56 #8BB54B #4BB5AA
split-complementary
#754BB5 #B5AA4B #56B54B
monochromatic
#3D275F #59398A #754BB5 #9676C7 #B8A2D9

Accessibility & contrast

On white

6.12
#754BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#754BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BB5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BB5#FFFFFF#000000##FFFFFF
##754BB51.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1362B8
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#676179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754bb5;
/* rgb */ color: rgb(117, 75, 181);
/* oklch */ color: oklch(51.2% 0.162 298.8);
Tailwind
colors: {
  custom: {
    50: '#a17fcc',
    500: '#754bb5',
    950: '#000000',
  },
}
SCSS
$custom: #754bb5;
$custom-light: #a17fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#754bb5",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 263.774,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.16195,
    "h": 298.8
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#754BB5
secondary
#B3C696
accent
#D256A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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