#754AA6#754AA6

#754AA6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.145 H 303.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#754AA6
RGBrgb(117, 74, 166)
HSLhsl(268, 38%, 47%)
HSVhsv(268, 55%, 65%)
CMYKcmyk(29.5%, 55.4%, 0%, 34.9%)
CIE-LABlab(40.30, 37.19, -42.99)
CIE-LCHlch(40.30, 56.84, 310.86°)
OKLaboklab(50.1% 0.0791 -0.1212)
OKLCHoklch(50.1% 0.145 303.1)
XYZxyz(16.6663, 11.4327, 37.3977)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AA6 #7BA64A
analogous
#4A4DA6 #754AA6 #A34AA6
triadic
#754AA6 #A6754A #4AA675
tetradic
#754AA6 #A64A4D #7BA64A #4AA6A3
square
#754AA6 #A64A4D #7BA64A #4AA6A3
split-complementary
#754AA6 #A6A34A #4DA64A
monochromatic
#392451 #57377C #754AA6 #946FBF #B399D1

Accessibility & contrast

On white

6.39
#754AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#754AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AA6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AA6#FFFFFF#000000##FFFFFF
##754AA61.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#365FA4
Tritanopia (blue-blind)
#6C5C71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754aa6;
/* rgb */ color: rgb(117, 74, 166);
/* oklch */ color: oklch(50.1% 0.145 303.1);
Tailwind
colors: {
  custom: {
    50: '#a07ec1',
    500: '#754aa6',
    950: '#000000',
  },
}
SCSS
$custom: #754aa6;
$custom-light: #a07ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#754aa6",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 268.043,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.14479,
    "h": 303.1
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#754AA6
secondary
#A7BE8E
accent
#CE5A98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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