#754FE7#754FE7

#754FE7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.217 H 288.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#754FE7
RGBrgb(117, 79, 231)
HSLhsl(255, 76%, 61%)
HSVhsv(255, 66%, 91%)
CMYKcmyk(49.4%, 65.8%, 0%, 9.4%)
CIE-LABlab(45.83, 51.93, -71.75)
CIE-LCHlch(45.83, 88.57, 305.90°)
OKLaboklab(55.54% 0.0699 -0.2057)
OKLCHoklch(55.54% 0.217 288.8)
XYZxyz(24.5517, 15.1423, 77.2149)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FE7 #C1E74F
analogous
#4F75E7 #754FE7 #C14FE7
triadic
#754FE7 #E7754F #4FE775
tetradic
#754FE7 #E74F75 #C1E74F #4FE7C1
square
#754FE7 #E74F75 #C1E74F #4FE7C1
split-complementary
#754FE7 #E7C14F #75E74F
monochromatic
#3A17A5 #4D1EDB #754FE7 #9F85EE #C9BBF6

Accessibility & contrast

On white

5.21
#754FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#754FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FE7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FE7#FFFFFF#000000##FFFFFF
##754FE71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#4D7594
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754fe7;
/* rgb */ color: rgb(117, 79, 231);
/* oklch */ color: oklch(55.5% 0.217 288.8);
Tailwind
colors: {
  custom: {
    50: '#a683f0',
    500: '#754fe7',
    950: '#000000',
  },
}
SCSS
$custom: #754fe7;
$custom-light: #a683f0;
$custom-dark: #000000;
JSON
{
  "hex": "#754fe7",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 255,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.21731,
    "h": 288.8
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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