#754EBA#754EBA

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

Color values

HEX#754EBA
RGBrgb(117, 78, 186)
HSLhsl(262, 44%, 52%)
HSVhsv(262, 58%, 73%)
CMYKcmyk(37.1%, 58.1%, 0%, 27.1%)
CIE-LABlab(42.42, 40.12, -51.39)
CIE-LCHlch(42.42, 65.20, 307.98°)
OKLaboklab(52.06% 0.0743 -0.1459)
OKLCHoklch(52.06% 0.164 297)
XYZxyz(18.9212, 12.7756, 47.9139)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EBA #93BA4E
analogous
#4E5DBA #754EBA #AB4EBA
triadic
#754EBA #BA754E #4EBA75
tetradic
#754EBA #BA4E5D #93BA4E #4EBAAB
square
#754EBA #BA4E5D #93BA4E #4EBAAB
split-complementary
#754EBA #BAAB4E #5DBA4E
monochromatic
#3E2866 #593992 #754EBA #977ACB #BAA6DC

Accessibility & contrast

On white

5.91
#754EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754EBA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EBA#FFFFFF#000000##FFFFFF
##754EBA1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BE
Deuteranopia (green-blind)
#2663B8
Tritanopia (blue-blind)
#65657C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754eba;
/* rgb */ color: rgb(117, 78, 186);
/* oklch */ color: oklch(52.1% 0.164 297.0);
Tailwind
colors: {
  custom: {
    50: '#a181cf',
    500: '#754eba',
    950: '#000000',
  },
}
SCSS
$custom: #754eba;
$custom-light: #a181cf;
$custom-dark: #000000;
JSON
{
  "hex": "#754eba",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 261.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.16375,
    "h": 297
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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