#754CA6#754CA6

#754CA6 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.142 H 302.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#754CA6
RGBrgb(117, 76, 166)
HSLhsl(267, 37%, 47%)
HSVhsv(267, 54%, 65%)
CMYKcmyk(29.5%, 54.2%, 0%, 34.9%)
CIE-LABlab(40.74, 36.04, -42.29)
CIE-LCHlch(40.74, 55.56, 310.44°)
OKLaboklab(50.42% 0.0764 -0.1192)
OKLCHoklch(50.42% 0.142 302.7)
XYZxyz(16.8019, 11.7040, 37.4429)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA6 #7DA64C
analogous
#4C50A6 #754CA6 #A24CA6
triadic
#754CA6 #A6754C #4CA675
tetradic
#754CA6 #A64C50 #7DA64C #4CA6A2
square
#754CA6 #A64C50 #7DA64C #4CA6A2
split-complementary
#754CA6 #A6A24C #50A64C
monochromatic
#3A2652 #57397C #754CA6 #9471BE #B49BD1

Accessibility & contrast

On white

6.29
#754CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#754CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA6#FFFFFF#000000##FFFFFF
##754CA61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA9
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#6C5D71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ca6;
/* rgb */ color: rgb(117, 76, 166);
/* oklch */ color: oklch(50.4% 0.142 302.7);
Tailwind
colors: {
  custom: {
    50: '#9f7fc1',
    500: '#754ca6',
    950: '#000000',
  },
}
SCSS
$custom: #754ca6;
$custom-light: #9f7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca6",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 267.333,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.14159,
    "h": 302.7
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#754CA6
secondary
#A9BE90
accent
#CD5B99
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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