#754ED1#754ED1

#754ED1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.192 H 292.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#754ED1
RGBrgb(117, 78, 209)
HSLhsl(258, 59%, 56%)
HSVhsv(258, 63%, 82%)
CMYKcmyk(44%, 62.7%, 0%, 18%)
CIE-LABlab(43.99, 46.37, -62.19)
CIE-LCHlch(43.99, 77.58, 306.71°)
OKLaboklab(53.7% 0.0733 -0.1777)
OKLCHoklch(53.7% 0.192 292.4)
XYZxyz(21.5660, 13.8335, 61.8431)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED1 #AAD14E
analogous
#4E69D1 #754ED1 #B74ED1
triadic
#754ED1 #D1754E #4ED175
tetradic
#754ED1 #D14E69 #AAD14E #4ED1B7
square
#754ED1 #D14E69 #AAD14E #4ED1B7
split-complementary
#754ED1 #D1B74E #69D14E
monochromatic
#3F2283 #562FB3 #754ED1 #9B7FDE #C1AFEA

Accessibility & contrast

On white

5.58
#754ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#754ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED1#FFFFFF#000000##FFFFFF
##754ED11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#5B6C88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754ed1;
/* rgb */ color: rgb(117, 78, 209);
/* oklch */ color: oklch(53.7% 0.192 292.4);
Tailwind
colors: {
  custom: {
    50: '#a381e0',
    500: '#754ed1',
    950: '#000000',
  },
}
SCSS
$custom: #754ed1;
$custom-light: #a381e0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed1",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 257.863,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.19219,
    "h": 292.4
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#754ED1
secondary
#C8D8A2
accent
#E246B3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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