#754EA6#754EA6

#754EA6 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.8% C 0.138 H 302.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#754EA6
RGBrgb(117, 78, 166)
HSLhsl(267, 36%, 48%)
HSVhsv(267, 53%, 65%)
CMYKcmyk(29.5%, 53%, 0%, 34.9%)
CIE-LABlab(41.19, 34.88, -41.57)
CIE-LCHlch(41.19, 54.27, 310.00°)
OKLaboklab(50.75% 0.0737 -0.1171)
OKLCHoklch(50.75% 0.138 302.2)
XYZxyz(16.9419, 11.9838, 37.4896)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA6 #7FA64E
analogous
#4E53A6 #754EA6 #A14EA6
triadic
#754EA6 #A6754E #4EA675
tetradic
#754EA6 #A64E53 #7FA64E #4EA6A1
square
#754EA6 #A64E53 #7FA64E #4EA6A1
split-complementary
#754EA6 #A6A14E #53A64E
monochromatic
#3A2753 #583A7C #754EA6 #9474BE #B49DD1

Accessibility & contrast

On white

6.18
#754EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#754EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA6#FFFFFF#000000##FFFFFF
##754EA61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A9
Deuteranopia (green-blind)
#3B61A4
Tritanopia (blue-blind)
#6C5F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea6;
/* rgb */ color: rgb(117, 78, 166);
/* oklch */ color: oklch(50.8% 0.138 302.2);
Tailwind
colors: {
  custom: {
    50: '#9f81c1',
    500: '#754ea6',
    950: '#000000',
  },
}
SCSS
$custom: #754ea6;
$custom-light: #9f81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea6",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 266.591,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.13836,
    "h": 302.2
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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