#754EE4#754EE4

#754EE4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.215 H 289.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#754EE4
RGBrgb(117, 78, 228)
HSLhsl(256, 74%, 60%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48.7%, 65.8%, 0%, 10.6%)
CIE-LABlab(45.40, 51.63, -70.75)
CIE-LCHlch(45.40, 87.58, 306.12°)
OKLaboklab(55.17% 0.0713 -0.2028)
OKLCHoklch(55.17% 0.215 289.4)
XYZxyz(24.0601, 14.8311, 74.9787)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE4 #BDE44E
analogous
#4E72E4 #754EE4 #C04EE4
triadic
#754EE4 #E4754E #4EE475
tetradic
#754EE4 #E44E72 #BDE44E #4EE4C0
square
#754EE4 #E44E72 #BDE44E #4EE4C0
split-complementary
#754EE4 #E4C04E #72E44E
monochromatic
#3B189F #4F20D4 #754EE4 #9E83EC #C8B8F4

Accessibility & contrast

On white

5.29
#754EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#754EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE4#FFFFFF#000000##FFFFFF
##754EE41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#4F7392
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754ee4;
/* rgb */ color: rgb(117, 78, 228);
/* oklch */ color: oklch(55.2% 0.215 289.4);
Tailwind
colors: {
  custom: {
    50: '#a682ee',
    500: '#754ee4',
    950: '#000000',
  },
}
SCSS
$custom: #754ee4;
$custom-light: #a682ee;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee4",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 255.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.21496,
    "h": 289.4
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#754EE4
secondary
#D5E4AA
accent
#F038C0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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