#754CD9#754CD9

#754CD9 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.204 H 291.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#754CD9
RGBrgb(117, 76, 217)
HSLhsl(257, 65%, 57%)
HSVhsv(257, 65%, 85%)
CMYKcmyk(46.1%, 65%, 0%, 14.9%)
CIE-LABlab(44.18, 49.66, -66.48)
CIE-LCHlch(44.18, 82.98, 306.76°)
OKLaboklab(54.02% 0.0746 -0.1903)
OKLCHoklch(54.02% 0.204 291.4)
XYZxyz(22.4414, 13.9598, 67.1443)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CD9 #B0D94C
analogous
#4C69D9 #754CD9 #BC4CD9
triadic
#754CD9 #D9754C #4CD975
tetradic
#754CD9 #D94C69 #B0D94C #4CD9BC
square
#754CD9 #D94C69 #B0D94C #4CD9BC
split-complementary
#754CD9 #D9BC4C #69D94C
monochromatic
#3E1E8D #5429BF #754CD9 #9C7EE4 #C3B1EE

Accessibility & contrast

On white

5.54
#754CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#754CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CD9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CD9#FFFFFF#000000##FFFFFF
##754CD91.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#566E8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754cd9;
/* rgb */ color: rgb(117, 76, 217);
/* oklch */ color: oklch(54.0% 0.204 291.4);
Tailwind
colors: {
  custom: {
    50: '#a480e6',
    500: '#754cd9',
    950: '#000000',
  },
}
SCSS
$custom: #754cd9;
$custom-light: #a480e6;
$custom-dark: #000000;
JSON
{
  "hex": "#754cd9",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 257.447,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.20437,
    "h": 291.4
  },
  "luminance": 0.13961
}

Semantic roles & 50–950 ramp

primary
#754CD9
secondary
#CCDDA4
accent
#E840B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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