#754EBD#754EBD

#754EBD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.168 H 296.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#754EBD
RGBrgb(117, 78, 189)
HSLhsl(261, 46%, 52%)
HSVhsv(261, 59%, 74%)
CMYKcmyk(38.1%, 58.7%, 0%, 25.9%)
CIE-LABlab(42.62, 40.93, -52.83)
CIE-LCHlch(42.62, 66.83, 307.76°)
OKLaboklab(52.27% 0.0743 -0.1501)
OKLCHoklch(52.27% 0.168 296.3)
XYZxyz(19.2435, 12.9045, 49.6112)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EBD #96BD4E
analogous
#4E5FBD #754EBD #AC4EBD
triadic
#754EBD #BD754E #4EBD75
tetradic
#754EBD #BD4E5F #96BD4E #4EBDAC
square
#754EBD #BD4E5F #96BD4E #4EBDAC
split-complementary
#754EBD #BDAC4E #5FBD4E
monochromatic
#3E2769 #593896 #754EBD #987BCE #BBA7DE

Accessibility & contrast

On white

5.86
#754EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#754EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EBD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EBD#FFFFFF#000000##FFFFFF
##754EBD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A65C1
Deuteranopia (green-blind)
#2163BB
Tritanopia (blue-blind)
#64667E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754ebd;
/* rgb */ color: rgb(117, 78, 189);
/* oklch */ color: oklch(52.3% 0.168 296.3);
Tailwind
colors: {
  custom: {
    50: '#a181d1',
    500: '#754ebd',
    950: '#000000',
  },
}
SCSS
$custom: #754ebd;
$custom-light: #a181d1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ebd",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 261.081,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52266,
    "c": 0.16751,
    "h": 296.3
  },
  "luminance": 0.12905
}

Semantic roles & 50–950 ramp

primary
#754EBD
secondary
#BBCC9B
accent
#D552A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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