#754AE1#754AE1

#754AE1 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.216 H 290.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#754AE1
RGBrgb(117, 74, 225)
HSLhsl(257, 72%, 59%)
HSVhsv(257, 67%, 88%)
CMYKcmyk(48%, 67.1%, 0%, 11.8%)
CIE-LABlab(44.40, 52.91, -70.68)
CIE-LCHlch(44.40, 88.29, 306.82°)
OKLaboklab(54.37% 0.0755 -0.2026)
OKLCHoklch(54.37% 0.216 290.4)
XYZxyz(23.3716, 14.1148, 72.7125)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AE1 #B6E14A
analogous
#4A6AE1 #754AE1 #C04AE1
triadic
#754AE1 #E1754A #4AE175
tetradic
#754AE1 #E14A6A #B6E14A #4AE1C0
square
#754AE1 #E14A6A #B6E14A #4AE1C0
split-complementary
#754AE1 #E1C04A #6AE14A
monochromatic
#3D1997 #5222CC #754AE1 #9D7EEA #C5B3F2

Accessibility & contrast

On white

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

On black

3.82
#754AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##754AE1#FFFFFF#000000##FFFFFF
##754AE11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#527090
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ae1;
/* rgb */ color: rgb(117, 74, 225);
/* oklch */ color: oklch(54.4% 0.216 290.4);
Tailwind
colors: {
  custom: {
    50: '#a57feb',
    500: '#754ae1',
    950: '#000000',
  },
}
SCSS
$custom: #754ae1;
$custom-light: #a57feb;
$custom-dark: #000000;
JSON
{
  "hex": "#754ae1",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 257.086,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.21622,
    "h": 290.4
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#754AE1
secondary
#D0E1A6
accent
#EE39BB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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