#754B9D#754B9D

#754B9D is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.132 H 305.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#754B9D
RGBrgb(117, 75, 157)
HSLhsl(271, 35%, 45%)
HSVhsv(271, 52%, 62%)
CMYKcmyk(25.5%, 52.2%, 0%, 38.4%)
CIE-LABlab(40.00, 34.35, -38.10)
CIE-LCHlch(40.00, 51.30, 312.04°)
OKLaboklab(49.7% 0.0772 -0.1069)
OKLCHoklch(49.7% 0.132 305.8)
XYZxyz(15.9367, 11.2485, 33.2234)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754B9D #739D4B
analogous
#4C4B9D #754B9D #9D4B9C
triadic
#754B9D #9D754B #4B9D75
tetradic
#754B9D #9D4C4B #739D4B #4B9C9D
square
#754B9D #9D4C4B #739D4B #4B9C9D
split-complementary
#754B9D #9C9D4B #4B9D4C
monochromatic
#37234A #563774 #754B9D #946CB9 #B296CD

Accessibility & contrast

On white

6.46
#754B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#754B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754B9D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754B9D#FFFFFF#000000##FFFFFF
##754B9D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#3F5E9B
Tritanopia (blue-blind)
#6F5A6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #754b9d;
/* rgb */ color: rgb(117, 75, 157);
/* oklch */ color: oklch(49.7% 0.132 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f7eba',
    500: '#754b9d',
    950: '#000000',
  },
}
SCSS
$custom: #754b9d;
$custom-light: #9f7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#754b9d",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 157
  },
  "hsl": {
    "h": 270.732,
    "s": 35.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.13186,
    "h": 305.8
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#754B9D
secondary
#A1B98B
accent
#CB5C93
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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