#754BAC#754BAC

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

Color values

HEX#754BAC
RGBrgb(117, 75, 172)
HSLhsl(266, 39%, 48%)
HSVhsv(266, 56%, 67%)
CMYKcmyk(32%, 56.4%, 0%, 32.5%)
CIE-LABlab(40.88, 38.15, -45.62)
CIE-LCHlch(40.88, 59.47, 309.90°)
OKLaboklab(50.64% 0.078 -0.129)
OKLCHoklch(50.64% 0.151 301.2)
XYZxyz(17.2968, 11.7925, 40.3867)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BAC #82AC4B
analogous
#4B52AC #754BAC #A54BAC
triadic
#754BAC #AC754B #4BAC75
tetradic
#754BAC #AC4B52 #82AC4B #4BACA5
square
#754BAC #AC4B52 #82AC4B #4BACA5
split-complementary
#754BAC #ACA54B #52AC4B
monochromatic
#3B2657 #583881 #754BAC #9572C2 #B59DD4

Accessibility & contrast

On white

6.25
#754BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#754BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BAC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BAC#FFFFFF#000000##FFFFFF
##754BAC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#6A5E74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754bac;
/* rgb */ color: rgb(117, 75, 172);
/* oklch */ color: oklch(50.6% 0.151 301.2);
Tailwind
colors: {
  custom: {
    50: '#a07fc5',
    500: '#754bac',
    950: '#000000',
  },
}
SCSS
$custom: #754bac;
$custom-light: #a07fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#754bac",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 265.979,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.15072,
    "h": 301.2
  },
  "luminance": 0.11793
}

Semantic roles & 50–950 ramp

primary
#754BAC
secondary
#ADC192
accent
#CF599C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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