#754CBD#754CBD

#754CBD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.170 H 296.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#754CBD
RGBrgb(117, 76, 189)
HSLhsl(262, 46%, 52%)
HSVhsv(262, 60%, 74%)
CMYKcmyk(38.1%, 59.8%, 0%, 25.9%)
CIE-LABlab(42.19, 42.06, -53.52)
CIE-LCHlch(42.19, 68.07, 308.16°)
OKLaboklab(51.95% 0.0767 -0.1521)
OKLCHoklch(51.95% 0.17 296.8)
XYZxyz(19.1035, 12.6246, 49.5646)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CBD #94BD4C
analogous
#4C5CBD #754CBD #AE4CBD
triadic
#754CBD #BD754C #4CBD75
tetradic
#754CBD #BD4C5C #94BD4C #4CBDAE
square
#754CBD #BD4C5C #94BD4C #4CBDAE
split-complementary
#754CBD #BDAE4C #5CBD4C
monochromatic
#3E2668 #593795 #754CBD #9779CD #BAA5DE

Accessibility & contrast

On white

5.96
#754CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#754CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CBD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CBD#FFFFFF#000000##FFFFFF
##754CBD1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#1C62BB
Tritanopia (blue-blind)
#64647D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754cbd;
/* rgb */ color: rgb(117, 76, 189);
/* oklch */ color: oklch(52.0% 0.170 296.8);
Tailwind
colors: {
  custom: {
    50: '#a180d2',
    500: '#754cbd',
    950: '#000000',
  },
}
SCSS
$custom: #754cbd;
$custom-light: #a180d2;
$custom-dark: #000000;
JSON
{
  "hex": "#754cbd",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 261.77,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.17039,
    "h": 296.8
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#754CBD
secondary
#B9CB9A
accent
#D652A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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