#754DAB#754DAB

#754DAB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.146 H 301.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#754DAB
RGBrgb(117, 77, 171)
HSLhsl(266, 38%, 49%)
HSVhsv(266, 55%, 67%)
CMYKcmyk(31.6%, 55%, 0%, 32.9%)
CIE-LABlab(41.26, 36.75, -44.42)
CIE-LCHlch(41.26, 57.65, 309.60°)
OKLaboklab(50.9% 0.0753 -0.1254)
OKLCHoklch(50.9% 0.146 301)
XYZxyz(17.3390, 12.0299, 39.9287)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DAB #83AB4D
analogous
#4D54AB #754DAB #A44DAB
triadic
#754DAB #AB754D #4DAB75
tetradic
#754DAB #AB4D54 #83AB4D #4DABA4
square
#754DAB #AB4D54 #83AB4D #4DABA4
split-complementary
#754DAB #ABA44D #54AB4D
monochromatic
#3B2757 #583A81 #754DAB #9575C1 #B59FD4

Accessibility & contrast

On white

6.17
#754DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#754DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DAB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DAB#FFFFFF#000000##FFFFFF
##754DAB1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#6A5F74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754dab;
/* rgb */ color: rgb(117, 77, 171);
/* oklch */ color: oklch(50.9% 0.146 301.0);
Tailwind
colors: {
  custom: {
    50: '#a080c4',
    500: '#754dab',
    950: '#000000',
  },
}
SCSS
$custom: #754dab;
$custom-light: #a080c4;
$custom-dark: #000000;
JSON
{
  "hex": "#754dab",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 265.532,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.14633,
    "h": 301
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#754DAB
secondary
#ADC093
accent
#CE5A9D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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