#754BBF#754BBF

#754BBF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.174 H 296.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#754BBF
RGBrgb(117, 75, 191)
HSLhsl(262, 48%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.7%, 60.7%, 0%, 25.1%)
CIE-LABlab(42.12, 43.15, -54.81)
CIE-LCHlch(42.12, 69.76, 308.21°)
OKLaboklab(51.94% 0.0778 -0.1559)
OKLCHoklch(51.94% 0.174 296.5)
XYZxyz(19.2537, 12.5753, 50.6930)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BBF #95BF4B
analogous
#4B5BBF #754BBF #AF4BBF
triadic
#754BBF #BF754B #4BBF75
tetradic
#754BBF #BF4B5B #95BF4B #4BBFAF
square
#754BBF #BF4B5B #95BF4B #4BBFAF
split-complementary
#754BBF #BFAF4B #5BBF4B
monochromatic
#3E266A #593697 #754BBF #9878CF #BAA5DF

Accessibility & contrast

On white

5.97
#754BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#754BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BBF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BBF#FFFFFF#000000##FFFFFF
##754BBF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1462BC
Tritanopia (blue-blind)
#63647E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754bbf;
/* rgb */ color: rgb(117, 75, 191);
/* oklch */ color: oklch(51.9% 0.174 296.5);
Tailwind
colors: {
  custom: {
    50: '#a27fd3',
    500: '#754bbf',
    950: '#000000',
  },
}
SCSS
$custom: #754bbf;
$custom-light: #a27fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#754bbf",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 261.724,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.17428,
    "h": 296.5
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#754BBF
secondary
#BACC9A
accent
#D751A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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