#754AAF#754AAF

#754AAF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.156 H 300.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#754AAF
RGBrgb(117, 74, 175)
HSLhsl(266, 41%, 49%)
HSVhsv(266, 58%, 69%)
CMYKcmyk(33.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(40.86, 39.49, -47.44)
CIE-LCHlch(40.86, 61.73, 309.78°)
OKLaboklab(50.68% 0.0794 -0.1343)
OKLCHoklch(50.68% 0.156 300.6)
XYZxyz(17.5209, 11.7745, 41.8988)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AAF #84AF4A
analogous
#4A52AF #754AAF #A84AAF
triadic
#754AAF #AF754A #4AAF75
tetradic
#754AAF #AF4A52 #84AF4A #4AAFA8
square
#754AAF #AF4A52 #84AF4A #4AAFA8
split-complementary
#754AAF #AFA84A #52AF4A
monochromatic
#3B2659 #583884 #754AAF #9573C4 #B69ED6

Accessibility & contrast

On white

6.26
#754AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#754AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AAF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AAF#FFFFFF#000000##FFFFFF
##754AAF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#695E75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754aaf;
/* rgb */ color: rgb(117, 74, 175);
/* oklch */ color: oklch(50.7% 0.156 300.6);
Tailwind
colors: {
  custom: {
    50: '#a07ec7',
    500: '#754aaf',
    950: '#000000',
  },
}
SCSS
$custom: #754aaf;
$custom-light: #a07ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#754aaf",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 265.545,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50683,
    "c": 0.156,
    "h": 300.6
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#754AAF
secondary
#AEC292
accent
#D0579D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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