#754AE7#754AE7

#754AE7 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.223 H 289.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#754AE7
RGBrgb(117, 74, 231)
HSLhsl(256, 77%, 60%)
HSVhsv(256, 68%, 91%)
CMYKcmyk(49.4%, 68%, 0%, 9.4%)
CIE-LABlab(44.87, 54.56, -73.32)
CIE-LCHlch(44.87, 91.39, 306.66°)
OKLaboklab(54.86% 0.0746 -0.2103)
OKLCHoklch(54.86% 0.223 289.5)
XYZxyz(24.2045, 14.4480, 77.0992)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AE7 #BCE74A
analogous
#4A6EE7 #754AE7 #C34AE7
triadic
#754AE7 #E7754A #4AE775
tetradic
#754AE7 #E74A6E #BCE74A #4AE7C3
square
#754AE7 #E74A6E #BCE74A #4AE7C3
split-complementary
#754AE7 #E7C34A #6EE74A
monochromatic
#3C15A1 #501DD7 #754AE7 #9E80EE #C7B6F5

Accessibility & contrast

On white

5.40
#754AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#754AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AE7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AE7#FFFFFF#000000##FFFFFF
##754AE71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#4E7293
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754ae7;
/* rgb */ color: rgb(117, 74, 231);
/* oklch */ color: oklch(54.9% 0.223 289.5);
Tailwind
colors: {
  custom: {
    50: '#a680f0',
    500: '#754ae7',
    950: '#000000',
  },
}
SCSS
$custom: #754ae7;
$custom-light: #a680f0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ae7",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 256.433,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.22316,
    "h": 289.5
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#754AE7
secondary
#D4E5A8
accent
#F335BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #754AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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