#754CD5#754CD5

#754CD5 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.200 H 292.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#754CD5
RGBrgb(117, 76, 213)
HSLhsl(258, 62%, 57%)
HSVhsv(258, 64%, 84%)
CMYKcmyk(45.1%, 64.3%, 0%, 16.5%)
CIE-LABlab(43.88, 48.56, -64.68)
CIE-LCHlch(43.88, 80.88, 306.90°)
OKLaboklab(53.71% 0.075 -0.185)
OKLCHoklch(53.71% 0.2 292.1)
XYZxyz(21.9275, 13.7542, 64.4374)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CD5 #ACD54C
analogous
#4C68D5 #754CD5 #BA4CD5
triadic
#754CD5 #D5754C #4CD575
tetradic
#754CD5 #D54C68 #ACD54C #4CD5BA
square
#754CD5 #D54C68 #ACD54C #4CD5BA
split-complementary
#754CD5 #D5BA4C #68D54C
monochromatic
#3F2087 #562BB9 #754CD5 #9B7EE1 #C1AFEC

Accessibility & contrast

On white

5.60
#754CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#754CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CD5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CD5#FFFFFF#000000##FFFFFF
##754CD51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#596D8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754cd5;
/* rgb */ color: rgb(117, 76, 213);
/* oklch */ color: oklch(53.7% 0.200 292.1);
Tailwind
colors: {
  custom: {
    50: '#a480e3',
    500: '#754cd5',
    950: '#000000',
  },
}
SCSS
$custom: #754cd5;
$custom-light: #a480e3;
$custom-dark: #000000;
JSON
{
  "hex": "#754cd5",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 257.956,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.1996,
    "h": 292.1
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#754CD5
secondary
#CADAA2
accent
#E543B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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