#754EBE#754EBE

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

Color values

HEX#754EBE
RGBrgb(117, 78, 190)
HSLhsl(261, 46%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(38.4%, 58.9%, 0%, 25.5%)
CIE-LABlab(42.68, 41.20, -53.31)
CIE-LCHlch(42.68, 67.37, 307.70°)
OKLaboklab(52.34% 0.0743 -0.1515)
OKLCHoklch(52.34% 0.169 296.1)
XYZxyz(19.3524, 12.9480, 50.1848)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EBE #97BE4E
analogous
#4E5FBE #754EBE #AD4EBE
triadic
#754EBE #BE754E #4EBE75
tetradic
#754EBE #BE4E5F #97BE4E #4EBEAD
square
#754EBE #BE4E5F #97BE4E #4EBEAD
split-complementary
#754EBE #BEAD4E #5FBE4E
monochromatic
#3F276A #593897 #754EBE #987BCE #BBA8DF

Accessibility & contrast

On white

5.85
#754EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#754EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EBE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EBE#FFFFFF#000000##FFFFFF
##754EBE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C2
Deuteranopia (green-blind)
#1F63BC
Tritanopia (blue-blind)
#63667E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754ebe;
/* rgb */ color: rgb(117, 78, 190);
/* oklch */ color: oklch(52.3% 0.169 296.1);
Tailwind
colors: {
  custom: {
    50: '#a181d2',
    500: '#754ebe',
    950: '#000000',
  },
}
SCSS
$custom: #754ebe;
$custom-light: #a181d2;
$custom-dark: #000000;
JSON
{
  "hex": "#754ebe",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 260.893,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.16876,
    "h": 296.1
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#754EBE
secondary
#BBCC9C
accent
#D652A8
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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