#754ED4#754ED4

#754ED4 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.196 H 291.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#754ED4
RGBrgb(117, 78, 212)
HSLhsl(257, 61%, 57%)
HSVhsv(257, 63%, 83%)
CMYKcmyk(44.8%, 63.2%, 0%, 16.9%)
CIE-LABlab(44.21, 47.20, -63.57)
CIE-LCHlch(44.21, 79.17, 306.59°)
OKLaboklab(53.93% 0.0731 -0.1817)
OKLCHoklch(53.93% 0.196 291.9)
XYZxyz(21.9409, 13.9834, 63.8176)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED4 #ADD44E
analogous
#4E6AD4 #754ED4 #B84ED4
triadic
#754ED4 #D4754E #4ED475
tetradic
#754ED4 #D44E6A #ADD44E #4ED4B8
square
#754ED4 #D44E6A #ADD44E #4ED4B8
split-complementary
#754ED4 #D4B84E #6AD44E
monochromatic
#3E2187 #552DB8 #754ED4 #9B7FE0 #C2B0EC

Accessibility & contrast

On white

5.53
#754ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#754ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED4#FFFFFF#000000##FFFFFF
##754ED41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#596D8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754ed4;
/* rgb */ color: rgb(117, 78, 212);
/* oklch */ color: oklch(53.9% 0.196 291.9);
Tailwind
colors: {
  custom: {
    50: '#a482e2',
    500: '#754ed4',
    950: '#000000',
  },
}
SCSS
$custom: #754ed4;
$custom-light: #a482e2;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed4",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 257.463,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.19583,
    "h": 291.9
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#754ED4
secondary
#CADAA4
accent
#E444B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #754ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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