#754AA2#754AA2

#754AA2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.140 H 304.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#754AA2
RGBrgb(117, 74, 162)
HSLhsl(269, 37%, 46%)
HSVhsv(269, 54%, 64%)
CMYKcmyk(27.8%, 54.3%, 0%, 36.5%)
CIE-LABlab(40.06, 36.18, -40.99)
CIE-LCHlch(40.06, 54.67, 311.43°)
OKLaboklab(49.84% 0.0789 -0.1154)
OKLCHoklch(49.84% 0.14 304.4)
XYZxyz(16.3051, 11.2882, 35.4953)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AA2 #77A24A
analogous
#4A4BA2 #754AA2 #A14AA2
triadic
#754AA2 #A2754A #4AA275
tetradic
#754AA2 #A24A4B #77A24A #4AA2A1
square
#754AA2 #A24A4B #77A24A #4AA2A1
split-complementary
#754AA2 #A2A14A #4BA24A
monochromatic
#38244E #573778 #754AA2 #946DBC #B397CF

Accessibility & contrast

On white

6.45
#754AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#754AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AA2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AA2#FFFFFF#000000##FFFFFF
##754AA21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#3A5EA0
Tritanopia (blue-blind)
#6D5A6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754aa2;
/* rgb */ color: rgb(117, 74, 162);
/* oklch */ color: oklch(49.8% 0.140 304.4);
Tailwind
colors: {
  custom: {
    50: '#9f7ebe',
    500: '#754aa2',
    950: '#000000',
  },
}
SCSS
$custom: #754aa2;
$custom-light: #9f7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#754aa2",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 269.318,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.13979,
    "h": 304.4
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#754AA2
secondary
#A4BC8C
accent
#CD5B95
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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