#754EBF#754EBF

#754EBF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.170 H 295.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#754EBF
RGBrgb(117, 78, 191)
HSLhsl(261, 47%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(38.7%, 59.2%, 0%, 25.1%)
CIE-LABlab(42.75, 41.47, -53.79)
CIE-LCHlch(42.75, 67.91, 307.63°)
OKLaboklab(52.41% 0.0743 -0.1529)
OKLCHoklch(52.41% 0.17 295.9)
XYZxyz(19.4620, 12.9919, 50.7624)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EBF #98BF4E
analogous
#4E5FBF #754EBF #AD4EBF
triadic
#754EBF #BF754E #4EBF75
tetradic
#754EBF #BF4E5F #98BF4E #4EBFAD
square
#754EBF #BF4E5F #98BF4E #4EBFAD
split-complementary
#754EBF #BFAD4E #5FBF4E
monochromatic
#3F276C #593799 #754EBF #987BCF #BBA8E0

Accessibility & contrast

On white

5.84
#754EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#754EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EBF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EBF#FFFFFF#000000##FFFFFF
##754EBF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0266C3
Deuteranopia (green-blind)
#1D63BD
Tritanopia (blue-blind)
#63667F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754ebf;
/* rgb */ color: rgb(117, 78, 191);
/* oklch */ color: oklch(52.4% 0.170 295.9);
Tailwind
colors: {
  custom: {
    50: '#a181d3',
    500: '#754ebf',
    950: '#000000',
  },
}
SCSS
$custom: #754ebf;
$custom-light: #a181d3;
$custom-dark: #000000;
JSON
{
  "hex": "#754ebf",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 260.708,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.17001,
    "h": 295.9
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#754EBF
secondary
#BCCD9C
accent
#D751A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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