#754FBB#754FBB

#754FBB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.3% C 0.164 H 296.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#754FBB
RGBrgb(117, 79, 187)
HSLhsl(261, 44%, 52%)
HSVhsv(261, 58%, 73%)
CMYKcmyk(37.4%, 57.8%, 0%, 26.7%)
CIE-LABlab(42.70, 39.82, -51.53)
CIE-LCHlch(42.70, 65.12, 307.70°)
OKLaboklab(52.29% 0.0731 -0.1463)
OKLCHoklch(52.29% 0.164 296.6)
XYZxyz(19.0995, 12.9614, 48.4996)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FBB #95BB4F
analogous
#4F5FBB #754FBB #AB4FBB
triadic
#754FBB #BB754F #4FBB75
tetradic
#754FBB #BB4F5F #95BB4F #4FBBAB
square
#754FBB #BB4F5F #95BB4F #4FBBAB
split-complementary
#754FBB #BBAB4F #5FBB4F
monochromatic
#3E2868 #593994 #754FBB #987BCC #BAA7DD

Accessibility & contrast

On white

5.85
#754FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#754FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FBB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FBB#FFFFFF#000000##FFFFFF
##754FBB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#2663B9
Tritanopia (blue-blind)
#64667D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754fbb;
/* rgb */ color: rgb(117, 79, 187);
/* oklch */ color: oklch(52.3% 0.164 296.6);
Tailwind
colors: {
  custom: {
    50: '#a182d0',
    500: '#754fbb',
    950: '#000000',
  },
}
SCSS
$custom: #754fbb;
$custom-light: #a182d0;
$custom-dark: #000000;
JSON
{
  "hex": "#754fbb",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 261.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.16354,
    "h": 296.6
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#754FBB
secondary
#BACA9B
accent
#D454A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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