#754BA3#754BA3

#754BA3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.139 H 303.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#754BA3
RGBrgb(117, 75, 163)
HSLhsl(269, 37%, 47%)
HSVhsv(269, 54%, 64%)
CMYKcmyk(28.2%, 54%, 0%, 36.1%)
CIE-LABlab(40.34, 35.85, -41.14)
CIE-LCHlch(40.34, 54.57, 311.07°)
OKLaboklab(50.07% 0.0776 -0.1158)
OKLCHoklch(50.07% 0.139 303.8)
XYZxyz(16.4616, 11.4585, 35.9877)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BA3 #79A34B
analogous
#4B4DA3 #754BA3 #A14BA3
triadic
#754BA3 #A3754B #4BA375
tetradic
#754BA3 #A34B4D #79A34B #4BA3A1
square
#754BA3 #A34B4D #79A34B #4BA3A1
split-complementary
#754BA3 #A3A14B #4DA34B
monochromatic
#39244F #573879 #754BA3 #946FBD #B399D0

Accessibility & contrast

On white

6.38
#754BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754BA3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BA3#FFFFFF#000000##FFFFFF
##754BA31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#6D5B70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754ba3;
/* rgb */ color: rgb(117, 75, 163);
/* oklch */ color: oklch(50.1% 0.139 303.8);
Tailwind
colors: {
  custom: {
    50: '#9f7fbf',
    500: '#754ba3',
    950: '#000000',
  },
}
SCSS
$custom: #754ba3;
$custom-light: #9f7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#754ba3",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 268.636,
    "s": 36.975,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.13942,
    "h": 303.8
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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