#754BAB#754BAB

#754BAB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.149 H 301.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#754BAB
RGBrgb(117, 75, 171)
HSLhsl(266, 39%, 48%)
HSVhsv(266, 56%, 67%)
CMYKcmyk(31.6%, 56.1%, 0%, 32.9%)
CIE-LABlab(40.82, 37.89, -45.13)
CIE-LCHlch(40.82, 58.93, 310.02°)
OKLaboklab(50.58% 0.078 -0.1275)
OKLCHoklch(50.58% 0.149 301.5)
XYZxyz(17.2012, 11.7543, 39.8828)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BAB #81AB4B
analogous
#4B51AB #754BAB #A54BAB
triadic
#754BAB #AB754B #4BAB75
tetradic
#754BAB #AB4B51 #81AB4B #4BABA5
square
#754BAB #AB4B51 #81AB4B #4BABA5
split-complementary
#754BAB #ABA54B #51AB4B
monochromatic
#3B2656 #583880 #754BAB #9572C1 #B59DD4

Accessibility & contrast

On white

6.27
#754BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#754BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BAB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BAB#FFFFFF#000000##FFFFFF
##754BAB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AE
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#6A5E74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754bab;
/* rgb */ color: rgb(117, 75, 171);
/* oklch */ color: oklch(50.6% 0.149 301.5);
Tailwind
colors: {
  custom: {
    50: '#a07fc4',
    500: '#754bab',
    950: '#000000',
  },
}
SCSS
$custom: #754bab;
$custom-light: #a07fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#754bab",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 266.25,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.14947,
    "h": 301.5
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#754BAB
secondary
#ACC091
accent
#CF599B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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