#754EE1#754EE1

#754EE1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.211 H 289.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#754EE1
RGBrgb(117, 78, 225)
HSLhsl(256, 71%, 59%)
HSVhsv(256, 65%, 88%)
CMYKcmyk(48%, 65.3%, 0%, 11.8%)
CIE-LABlab(45.17, 50.80, -69.42)
CIE-LCHlch(45.17, 86.02, 306.19°)
OKLaboklab(54.93% 0.0717 -0.1989)
OKLCHoklch(54.93% 0.211 289.8)
XYZxyz(23.6472, 14.6660, 72.8044)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE1 #BAE14E
analogous
#4E71E1 #754EE1 #BE4EE1
triadic
#754EE1 #E1754E #4EE175
tetradic
#754EE1 #E14E71 #BAE14E #4EE1BE
square
#754EE1 #E14E71 #BAE14E #4EE1BE
split-complementary
#754EE1 #E1BE4E #71E14E
monochromatic
#3C1A9A #5123CF #754EE1 #9E82EA #C7B7F3

Accessibility & contrast

On white

5.34
#754EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#754EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE1#FFFFFF#000000##FFFFFF
##754EE11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#517291
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754ee1;
/* rgb */ color: rgb(117, 78, 225);
/* oklch */ color: oklch(54.9% 0.211 289.8);
Tailwind
colors: {
  custom: {
    50: '#a582eb',
    500: '#754ee1',
    950: '#000000',
  },
}
SCSS
$custom: #754ee1;
$custom-light: #a582eb;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee1",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 255.918,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.21142,
    "h": 289.8
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#754EE1
secondary
#D3E2A9
accent
#EE3ABE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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