#754CBE#754CBE

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

Color values

HEX#754CBE
RGBrgb(117, 76, 190)
HSLhsl(262, 47%, 52%)
HSVhsv(262, 60%, 75%)
CMYKcmyk(38.4%, 60%, 0%, 25.5%)
CIE-LABlab(42.26, 42.32, -54.00)
CIE-LCHlch(42.26, 68.61, 308.09°)
OKLaboklab(52.02% 0.0767 -0.1535)
OKLCHoklch(52.02% 0.172 296.5)
XYZxyz(19.2124, 12.6682, 50.1382)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CBE #95BE4C
analogous
#4C5CBE #754CBE #AE4CBE
triadic
#754CBE #BE754C #4CBE75
tetradic
#754CBE #BE4C5C #95BE4C #4CBEAE
square
#754CBE #BE4C5C #95BE4C #4CBEAE
split-complementary
#754CBE #BEAE4C #5CBE4C
monochromatic
#3E2669 #593796 #754CBE #9879CE #BAA6DF

Accessibility & contrast

On white

5.94
#754CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#754CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CBE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CBE#FFFFFF#000000##FFFFFF
##754CBE1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1A62BB
Tritanopia (blue-blind)
#63657E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754cbe;
/* rgb */ color: rgb(117, 76, 190);
/* oklch */ color: oklch(52.0% 0.172 296.5);
Tailwind
colors: {
  custom: {
    50: '#a180d2',
    500: '#754cbe',
    950: '#000000',
  },
}
SCSS
$custom: #754cbe;
$custom-light: #a180d2;
$custom-dark: #000000;
JSON
{
  "hex": "#754cbe",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 261.579,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.17163,
    "h": 296.5
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#754CBE
secondary
#BACC9A
accent
#D651A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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