#754AE5#754AE5

#754AE5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.221 H 289.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#754AE5
RGBrgb(117, 74, 229)
HSLhsl(257, 75%, 59%)
HSVhsv(257, 68%, 90%)
CMYKcmyk(48.9%, 67.7%, 0%, 10.2%)
CIE-LABlab(44.71, 54.01, -72.44)
CIE-LCHlch(44.71, 90.36, 306.71°)
OKLaboklab(54.69% 0.0749 -0.2078)
OKLCHoklch(54.69% 0.221 289.8)
XYZxyz(23.9237, 14.3356, 75.6201)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AE5 #BAE54A
analogous
#4A6DE5 #754AE5 #C24AE5
triadic
#754AE5 #E5754A #4AE575
tetradic
#754AE5 #E54A6D #BAE54A #4AE5C2
square
#754AE5 #E54A6D #BAE54A #4AE5C2
split-complementary
#754AE5 #E5C24A #6DE54A
monochromatic
#3C179E #511ED3 #754AE5 #9E80ED #C7B5F4

Accessibility & contrast

On white

5.43
#754AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#754AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AE5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AE5#FFFFFF#000000##FFFFFF
##754AE51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0066E2
Tritanopia (blue-blind)
#4F7192
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754ae5;
/* rgb */ color: rgb(117, 74, 229);
/* oklch */ color: oklch(54.7% 0.221 289.8);
Tailwind
colors: {
  custom: {
    50: '#a67fee',
    500: '#754ae5',
    950: '#000000',
  },
}
SCSS
$custom: #754ae5;
$custom-light: #a67fee;
$custom-dark: #000000;
JSON
{
  "hex": "#754ae5",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 256.645,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.22085,
    "h": 289.8
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#754AE5
secondary
#D3E4A7
accent
#F136BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #754AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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