#754DB4#754DB4

#754DB4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.158 H 298.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#754DB4
RGBrgb(117, 77, 180)
HSLhsl(263, 41%, 50%)
HSVhsv(263, 57%, 71%)
CMYKcmyk(35%, 57.2%, 0%, 29.4%)
CIE-LABlab(41.82, 39.10, -48.84)
CIE-LCHlch(41.82, 62.56, 308.68°)
OKLaboklab(51.49% 0.0756 -0.1384)
OKLCHoklch(51.49% 0.158 298.6)
XYZxyz(18.2262, 12.3848, 44.6014)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DB4 #8CB44D
analogous
#4D58B4 #754DB4 #A84DB4
triadic
#754DB4 #B4754D #4DB475
tetradic
#754DB4 #B44D58 #8CB44D #4DB4A8
square
#754DB4 #B44D58 #8CB44D #4DB4A8
split-complementary
#754DB4 #B4A84D #58B44D
monochromatic
#3D285F #593A8A #754DB4 #9678C6 #B8A3D8

Accessibility & contrast

On white

6.04
#754DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#754DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DB4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DB4#FFFFFF#000000##FFFFFF
##754DB41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B7
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#676279
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754db4;
/* rgb */ color: rgb(117, 77, 180);
/* oklch */ color: oklch(51.5% 0.158 298.6);
Tailwind
colors: {
  custom: {
    50: '#a080cb',
    500: '#754db4',
    950: '#000000',
  },
}
SCSS
$custom: #754db4;
$custom-light: #a080cb;
$custom-dark: #000000;
JSON
{
  "hex": "#754db4",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 263.301,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.1577,
    "h": 298.6
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#754DB4
secondary
#B4C597
accent
#D157A1
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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