#754BB6#754BB6

#754BB6 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.163 H 298.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#754BB6
RGBrgb(117, 75, 182)
HSLhsl(264, 42%, 50%)
HSVhsv(264, 59%, 71%)
CMYKcmyk(35.7%, 58.8%, 0%, 28.6%)
CIE-LABlab(41.52, 40.76, -50.50)
CIE-LCHlch(41.52, 64.90, 308.91°)
OKLaboklab(51.31% 0.0781 -0.1433)
OKLCHoklch(51.31% 0.163 298.6)
XYZxyz(18.2936, 12.1913, 45.6362)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BB6 #8CB64B
analogous
#4B57B6 #754BB6 #AA4BB6
triadic
#754BB6 #B6754B #4BB675
tetradic
#754BB6 #B64B57 #8CB64B #4BB6AA
square
#754BB6 #B64B57 #8CB64B #4BB6AA
split-complementary
#754BB6 #B6AA4B #57B64B
monochromatic
#3D2760 #59388B #754BB6 #9677C8 #B8A2D9

Accessibility & contrast

On white

6.11
#754BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#754BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BB6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BB6#FFFFFF#000000##FFFFFF
##754BB61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1062B9
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#676179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754bb6;
/* rgb */ color: rgb(117, 75, 182);
/* oklch */ color: oklch(51.3% 0.163 298.6);
Tailwind
colors: {
  custom: {
    50: '#a17fcc',
    500: '#754bb6',
    950: '#000000',
  },
}
SCSS
$custom: #754bb6;
$custom-light: #a17fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#754bb6",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 263.551,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.16319,
    "h": 298.6
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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