#754ED7#754ED7

#754ED7 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.199 H 291.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#754ED7
RGBrgb(117, 78, 215)
HSLhsl(257, 63%, 57%)
HSVhsv(257, 64%, 84%)
CMYKcmyk(45.6%, 63.7%, 0%, 15.7%)
CIE-LABlab(44.43, 48.03, -64.93)
CIE-LCHlch(44.43, 80.76, 306.49°)
OKLaboklab(54.16% 0.0728 -0.1857)
OKLCHoklch(54.16% 0.199 291.4)
XYZxyz(22.3228, 14.1362, 65.8292)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED7 #B0D74E
analogous
#4E6CD7 #754ED7 #B94ED7
triadic
#754ED7 #D7754E #4ED775
tetradic
#754ED7 #D74E6C #B0D74E #4ED7B9
square
#754ED7 #D74E6C #B0D74E #4ED7B9
split-complementary
#754ED7 #D7B94E #6CD74E
monochromatic
#3E1F8B #542BBD #754ED7 #9C80E2 #C3B2EE

Accessibility & contrast

On white

5.49
#754ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#754ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED7#FFFFFF#000000##FFFFFF
##754ED71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#576E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ed7;
/* rgb */ color: rgb(117, 78, 215);
/* oklch */ color: oklch(54.2% 0.199 291.4);
Tailwind
colors: {
  custom: {
    50: '#a482e4',
    500: '#754ed7',
    950: '#000000',
  },
}
SCSS
$custom: #754ed7;
$custom-light: #a482e4;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed7",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 257.08,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.19945,
    "h": 291.4
  },
  "luminance": 0.14137
}

Semantic roles & 50–950 ramp

primary
#754ED7
secondary
#CCDCA5
accent
#E642B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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