#754DBE#754DBE

#754DBE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.170 H 296.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#754DBE
RGBrgb(117, 77, 190)
HSLhsl(261, 47%, 52%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(38.4%, 59.5%, 0%, 25.5%)
CIE-LABlab(42.47, 41.76, -53.65)
CIE-LCHlch(42.47, 67.99, 307.90°)
OKLaboklab(52.18% 0.0755 -0.1525)
OKLCHoklch(52.18% 0.17 296.3)
XYZxyz(19.2819, 12.8070, 50.1613)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DBE #96BE4D
analogous
#4D5EBE #754DBE #AE4DBE
triadic
#754DBE #BE754D #4DBE75
tetradic
#754DBE #BE4D5E #96BE4D #4DBEAE
square
#754DBE #BE4D5E #96BE4D #4DBEAE
split-complementary
#754DBE #BEAE4D #5EBE4D
monochromatic
#3E276A #593797 #754DBE #987ACE #BBA7DF

Accessibility & contrast

On white

5.90
#754DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754DBE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DBE#FFFFFF#000000##FFFFFF
##754DBE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754dbe;
/* rgb */ color: rgb(117, 77, 190);
/* oklch */ color: oklch(52.2% 0.170 296.3);
Tailwind
colors: {
  custom: {
    50: '#a180d2',
    500: '#754dbe',
    950: '#000000',
  },
}
SCSS
$custom: #754dbe;
$custom-light: #a180d2;
$custom-dark: #000000;
JSON
{
  "hex": "#754dbe",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 261.239,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.1702,
    "h": 296.3
  },
  "luminance": 0.12807
}

Semantic roles & 50–950 ramp

primary
#754DBE
secondary
#BBCC9B
accent
#D652A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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