#754BA5#754BA5

#754BA5 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.142 H 303.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#754BA5
RGBrgb(117, 75, 165)
HSLhsl(268, 38%, 47%)
HSVhsv(268, 55%, 65%)
CMYKcmyk(29.1%, 54.5%, 0%, 35.3%)
CIE-LABlab(40.46, 36.36, -42.14)
CIE-LCHlch(40.46, 55.66, 310.79°)
OKLaboklab(50.2% 0.0777 -0.1188)
OKLCHoklch(50.2% 0.142 303.2)
XYZxyz(16.6422, 11.5307, 36.9389)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BA5 #7BA54B
analogous
#4B4EA5 #754BA5 #A24BA5
triadic
#754BA5 #A5754B #4BA575
tetradic
#754BA5 #A54B4E #7BA54B #4BA5A2
square
#754BA5 #A54B4E #7BA54B #4BA5A2
split-complementary
#754BA5 #A5A24B #4EA54B
monochromatic
#392551 #57387B #754BA5 #946FBE #B39AD1

Accessibility & contrast

On white

6.35
#754BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754BA5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BA5#FFFFFF#000000##FFFFFF
##754BA51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA8
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#6C5C71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754ba5;
/* rgb */ color: rgb(117, 75, 165);
/* oklch */ color: oklch(50.2% 0.142 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f7fc0',
    500: '#754ba5',
    950: '#000000',
  },
}
SCSS
$custom: #754ba5;
$custom-light: #9f7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ba5",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 268,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.14194,
    "h": 303.2
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#754BA5
secondary
#A7BD8F
accent
#CD5A98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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