#754EE7#754EE7

#754EE7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.219 H 288.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#754EE7
RGBrgb(117, 78, 231)
HSLhsl(255, 76%, 61%)
HSVhsv(255, 66%, 91%)
CMYKcmyk(49.4%, 66.2%, 0%, 9.4%)
CIE-LABlab(45.63, 52.46, -72.07)
CIE-LCHlch(45.63, 89.14, 306.05°)
OKLaboklab(55.4% 0.0709 -0.2067)
OKLCHoklch(55.4% 0.219 288.9)
XYZxyz(24.4801, 14.9991, 77.1911)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE7 #C0E74E
analogous
#4E73E7 #754EE7 #C14EE7
triadic
#754EE7 #E7754E #4EE775
tetradic
#754EE7 #E74E73 #C0E74E #4EE7C1
square
#754EE7 #E74E73 #C0E74E #4EE7C1
split-complementary
#754EE7 #E7C14E #73E74E
monochromatic
#3A16A4 #4E1EDA #754EE7 #9F84EE #C9BAF6

Accessibility & contrast

On white

5.25
#754EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#754EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE7#FFFFFF#000000##FFFFFF
##754EE71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0068E4
Tritanopia (blue-blind)
#4D7494
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754ee7;
/* rgb */ color: rgb(117, 78, 231);
/* oklch */ color: oklch(55.4% 0.219 288.9);
Tailwind
colors: {
  custom: {
    50: '#a682f0',
    500: '#754ee7',
    950: '#000000',
  },
}
SCSS
$custom: #754ee7;
$custom-light: #a682f0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee7",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 255.294,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55403,
    "c": 0.21851,
    "h": 288.9
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

primary
#754EE7
secondary
#D7E5AB
accent
#D80DA5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #754EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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