#754ED8#754ED8

#754ED8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.2% C 0.201 H 291.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#754ED8
RGBrgb(117, 78, 216)
HSLhsl(257, 64%, 58%)
HSVhsv(257, 64%, 85%)
CMYKcmyk(45.8%, 63.9%, 0%, 15.3%)
CIE-LABlab(44.50, 48.30, -65.38)
CIE-LCHlch(44.50, 81.29, 306.46°)
OKLaboklab(54.23% 0.0727 -0.187)
OKLCHoklch(54.23% 0.201 291.2)
XYZxyz(22.4517, 14.1878, 66.5080)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED8 #B1D84E
analogous
#4E6CD8 #754ED8 #BA4ED8
triadic
#754ED8 #D8754E #4ED875
tetradic
#754ED8 #D84E6C #B1D84E #4ED8BA
square
#754ED8 #D84E6C #B1D84E #4ED8BA
split-complementary
#754ED8 #D8BA4E #6CD84E
monochromatic
#3E1F8D #542ABF #754ED8 #9C80E3 #C3B2EE

Accessibility & contrast

On white

5.47
#754ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#754ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED8#FFFFFF#000000##FFFFFF
##754ED81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#576F8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ed8;
/* rgb */ color: rgb(117, 78, 216);
/* oklch */ color: oklch(54.2% 0.201 291.2);
Tailwind
colors: {
  custom: {
    50: '#a482e5',
    500: '#754ed8',
    950: '#000000',
  },
}
SCSS
$custom: #754ed8;
$custom-light: #a482e5;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed8",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 256.957,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.20065,
    "h": 291.2
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#754ED8
secondary
#CDDDA5
accent
#E741B8
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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