#754EE5#754EE5

#754EE5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.216 H 289.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#754EE5
RGBrgb(117, 78, 229)
HSLhsl(255, 74%, 60%)
HSVhsv(255, 66%, 90%)
CMYKcmyk(48.9%, 65.9%, 0%, 10.2%)
CIE-LABlab(45.48, 51.91, -71.19)
CIE-LCHlch(45.48, 88.10, 306.10°)
OKLaboklab(55.24% 0.0712 -0.2041)
OKLCHoklch(55.24% 0.216 289.2)
XYZxyz(24.1993, 14.8868, 75.7119)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE5 #BEE54E
analogous
#4E72E5 #754EE5 #C14EE5
triadic
#754EE5 #E5754E #4EE575
tetradic
#754EE5 #E54E72 #BEE54E #4EE5C1
square
#754EE5 #E54E72 #BEE54E #4EE5C1
split-complementary
#754EE5 #E5C14E #72E54E
monochromatic
#3B18A1 #4F1FD6 #754EE5 #9F83ED #C8B9F5

Accessibility & contrast

On white

5.28
#754EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#754EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE5#FFFFFF#000000##FFFFFF
##754EE51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#4F7393
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754ee5;
/* rgb */ color: rgb(117, 78, 229);
/* oklch */ color: oklch(55.2% 0.216 289.2);
Tailwind
colors: {
  custom: {
    50: '#a682ee',
    500: '#754ee5',
    950: '#000000',
  },
}
SCSS
$custom: #754ee5;
$custom-light: #a682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee5",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 255.497,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.21615,
    "h": 289.2
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#754EE5
secondary
#D5E4AA
accent
#D70FA3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #754EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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