#754CA2#754CA2

#754CA2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.137 H 303.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#754CA2
RGBrgb(117, 76, 162)
HSLhsl(269, 36%, 47%)
HSVhsv(269, 53%, 64%)
CMYKcmyk(27.8%, 53.1%, 0%, 36.5%)
CIE-LABlab(40.51, 35.02, -40.28)
CIE-LCHlch(40.51, 53.38, 311.01°)
OKLaboklab(50.17% 0.0762 -0.1133)
OKLCHoklch(50.17% 0.137 303.9)
XYZxyz(16.4407, 11.5595, 35.5405)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA2 #79A24C
analogous
#4C4EA2 #754CA2 #A04CA2
triadic
#754CA2 #A2754C #4CA275
tetradic
#754CA2 #A24C4E #79A24C #4CA2A0
square
#754CA2 #A24C4E #79A24C #4CA2A0
split-complementary
#754CA2 #A2A04C #4EA24C
monochromatic
#39254F #573878 #754CA2 #9470BC #B399CF

Accessibility & contrast

On white

6.34
#754CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#754CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA2#FFFFFF#000000##FFFFFF
##754CA21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA5
Deuteranopia (green-blind)
#3C5FA0
Tritanopia (blue-blind)
#6D5C70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754ca2;
/* rgb */ color: rgb(117, 76, 162);
/* oklch */ color: oklch(50.2% 0.137 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f7fbe',
    500: '#754ca2',
    950: '#000000',
  },
}
SCSS
$custom: #754ca2;
$custom-light: #9f7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca2",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 268.605,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.13653,
    "h": 303.9
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#754CA2
secondary
#A6BC8E
accent
#CC5C97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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