#754EBC#754EBC

#754EBC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.166 H 296.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#754EBC
RGBrgb(117, 78, 188)
HSLhsl(261, 45%, 52%)
HSVhsv(261, 59%, 74%)
CMYKcmyk(37.8%, 58.5%, 0%, 26.3%)
CIE-LABlab(42.55, 40.66, -52.35)
CIE-LCHlch(42.55, 66.29, 307.83°)
OKLaboklab(52.2% 0.0743 -0.1487)
OKLCHoklch(52.2% 0.166 296.6)
XYZxyz(19.1353, 12.8612, 49.0415)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EBC #95BC4E
analogous
#4E5EBC #754EBC #AC4EBC
triadic
#754EBC #BC754E #4EBC75
tetradic
#754EBC #BC4E5E #95BC4E #4EBCAC
square
#754EBC #BC4E5E #95BC4E #4EBCAC
split-complementary
#754EBC #BCAC4E #5EBC4E
monochromatic
#3E2768 #593895 #754EBC #987ACD #BAA7DE

Accessibility & contrast

On white

5.88
#754EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#754EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EBC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EBC#FFFFFF#000000##FFFFFF
##754EBC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65C0
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#64657D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ebc;
/* rgb */ color: rgb(117, 78, 188);
/* oklch */ color: oklch(52.2% 0.166 296.6);
Tailwind
colors: {
  custom: {
    50: '#a181d1',
    500: '#754ebc',
    950: '#000000',
  },
}
SCSS
$custom: #754ebc;
$custom-light: #a181d1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ebc",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 261.273,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.16626,
    "h": 296.6
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#754EBC
secondary
#BACB9B
accent
#D553A7
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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