#754EA5#754EA5

#754EA5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.137 H 302.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#754EA5
RGBrgb(117, 78, 165)
HSLhsl(267, 36%, 48%)
HSVhsv(267, 53%, 65%)
CMYKcmyk(29.1%, 52.7%, 0%, 35.3%)
CIE-LABlab(41.13, 34.63, -41.07)
CIE-LCHlch(41.13, 53.72, 310.13°)
OKLaboklab(50.69% 0.0736 -0.1156)
OKLCHoklch(50.69% 0.137 302.5)
XYZxyz(16.8505, 11.9473, 37.0083)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA5 #7EA54E
analogous
#4E52A5 #754EA5 #A04EA5
triadic
#754EA5 #A5754E #4EA575
tetradic
#754EA5 #A54E52 #7EA54E #4EA5A0
square
#754EA5 #A54E52 #7EA54E #4EA5A0
split-complementary
#754EA5 #A5A04E #52A54E
monochromatic
#3A2752 #583A7B #754EA5 #9473BD #B49DD1

Accessibility & contrast

On white

6.20
#754EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#754EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA5#FFFFFF#000000##FFFFFF
##754EA51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A8
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#6C5E72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea5;
/* rgb */ color: rgb(117, 78, 165);
/* oklch */ color: oklch(50.7% 0.137 302.5);
Tailwind
colors: {
  custom: {
    50: '#9f81c0',
    500: '#754ea5',
    950: '#000000',
  },
}
SCSS
$custom: #754ea5;
$custom-light: #9f81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea5",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 266.897,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.13708,
    "h": 302.5
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#754EA5
secondary
#AABD91
accent
#CC5C9A
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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