#754EBB#754EBB

#754EBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.165 H 296.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#754EBB
RGBrgb(117, 78, 187)
HSLhsl(261, 44%, 52%)
HSVhsv(261, 58%, 73%)
CMYKcmyk(37.4%, 58.3%, 0%, 26.7%)
CIE-LABlab(42.49, 40.39, -51.87)
CIE-LCHlch(42.49, 65.75, 307.91°)
OKLaboklab(52.13% 0.0743 -0.1473)
OKLCHoklch(52.13% 0.165 296.8)
XYZxyz(19.0279, 12.8182, 48.4757)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EBB #94BB4E
analogous
#4E5EBB #754EBB #AC4EBB
triadic
#754EBB #BB754E #4EBB75
tetradic
#754EBB #BB4E5E #94BB4E #4EBBAC
square
#754EBB #BB4E5E #94BB4E #4EBBAC
split-complementary
#754EBB #BBAC4E #5EBB4E
monochromatic
#3E2867 #593993 #754EBB #977ACC #BAA6DD

Accessibility & contrast

On white

5.89
#754EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#754EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EBB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EBB#FFFFFF#000000##FFFFFF
##754EBB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1165BF
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#64657D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ebb;
/* rgb */ color: rgb(117, 78, 187);
/* oklch */ color: oklch(52.1% 0.165 296.8);
Tailwind
colors: {
  custom: {
    50: '#a181d0',
    500: '#754ebb',
    950: '#000000',
  },
}
SCSS
$custom: #754ebb;
$custom-light: #a181d0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ebb",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 261.468,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.16501,
    "h": 296.8
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#754EBB
secondary
#B9CA9B
accent
#D454A6
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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