#754AEC#754AEC

#754AEC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.229 H 288.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#754AEC
RGBrgb(117, 74, 236)
HSLhsl(256, 81%, 61%)
HSVhsv(256, 69%, 93%)
CMYKcmyk(50.4%, 68.6%, 0%, 7.5%)
CIE-LABlab(45.27, 55.93, -75.49)
CIE-LCHlch(45.27, 93.95, 306.54°)
OKLaboklab(55.26% 0.0737 -0.2167)
OKLCHoklch(55.26% 0.229 288.8)
XYZxyz(24.9208, 14.7345, 80.8715)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AEC #C1EC4A
analogous
#4A70EC #754AEC #C64AEC
triadic
#754AEC #EC754A #4AEC75
tetradic
#754AEC #EC4A70 #C1EC4A #4AECC6
square
#754AEC #EC4A70 #C1EC4A #4AECC6
split-complementary
#754AEC #ECC64A #70EC4A
monochromatic
#3A12AA #4D18E1 #754AEC #9F81F2 #C9B9F8

Accessibility & contrast

On white

5.32
#754AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#754AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AEC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AEC#FFFFFF#000000##FFFFFF
##754AEC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#4A7496
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754aec;
/* rgb */ color: rgb(117, 74, 236);
/* oklch */ color: oklch(55.3% 0.229 288.8);
Tailwind
colors: {
  custom: {
    50: '#a780f3',
    500: '#754aec',
    950: '#000000',
  },
}
SCSS
$custom: #754aec;
$custom-light: #a780f3;
$custom-dark: #000000;
JSON
{
  "hex": "#754aec",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 236
  },
  "hsl": {
    "h": 255.926,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.22892,
    "h": 288.8
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#754AEC
secondary
#D7E8AA
accent
#DD08A5
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #754AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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