#754EB9#754EB9

#754EB9 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.162 H 297.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#754EB9
RGBrgb(117, 78, 185)
HSLhsl(262, 43%, 52%)
HSVhsv(262, 58%, 73%)
CMYKcmyk(36.8%, 57.8%, 0%, 27.5%)
CIE-LABlab(42.36, 39.86, -50.91)
CIE-LCHlch(42.36, 64.66, 308.06°)
OKLaboklab(51.99% 0.0743 -0.1445)
OKLCHoklch(51.99% 0.162 297.2)
XYZxyz(18.8153, 12.7332, 47.3560)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB9 #92B94E
analogous
#4E5DB9 #754EB9 #AB4EB9
triadic
#754EB9 #B9754E #4EB975
tetradic
#754EB9 #B94E5D #92B94E #4EB9AB
square
#754EB9 #B94E5D #92B94E #4EB9AB
split-complementary
#754EB9 #B9AB4E #5DB94E
monochromatic
#3E2865 #593991 #754EB9 #977ACA #B9A6DC

Accessibility & contrast

On white

5.92
#754EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#754EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB9#FFFFFF#000000##FFFFFF
##754EB91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BD
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#65647C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754eb9;
/* rgb */ color: rgb(117, 78, 185);
/* oklch */ color: oklch(52.0% 0.162 297.2);
Tailwind
colors: {
  custom: {
    50: '#a181cf',
    500: '#754eb9',
    950: '#000000',
  },
}
SCSS
$custom: #754eb9;
$custom-light: #a181cf;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb9",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 261.869,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.16249,
    "h": 297.2
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#754EB9
secondary
#B8C99A
accent
#D355A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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