#754EB6#754EB6

#754EB6 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.159 H 297.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#754EB6
RGBrgb(117, 78, 182)
HSLhsl(263, 42%, 51%)
HSVhsv(263, 57%, 71%)
CMYKcmyk(35.7%, 57.1%, 0%, 28.6%)
CIE-LABlab(42.17, 39.06, -49.46)
CIE-LCHlch(42.17, 63.03, 308.30°)
OKLaboklab(51.79% 0.0743 -0.1402)
OKLCHoklch(51.79% 0.159 297.9)
XYZxyz(18.5019, 12.6078, 45.7057)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB6 #8FB64E
analogous
#4E5BB6 #754EB6 #A94EB6
triadic
#754EB6 #B6754E #4EB675
tetradic
#754EB6 #B64E5B #8FB64E #4EB6A9
square
#754EB6 #B64E5B #8FB64E #4EB6A9
split-complementary
#754EB6 #B6A94E #5BB64E
monochromatic
#3E2861 #593A8D #754EB6 #9779C8 #B9A5DA

Accessibility & contrast

On white

5.96
#754EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#754EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB6#FFFFFF#000000##FFFFFF
##754EB61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C64B9
Deuteranopia (green-blind)
#2B62B4
Tritanopia (blue-blind)
#66637A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754eb6;
/* rgb */ color: rgb(117, 78, 182);
/* oklch */ color: oklch(51.8% 0.159 297.9);
Tailwind
colors: {
  custom: {
    50: '#a181cc',
    500: '#754eb6',
    950: '#000000',
  },
}
SCSS
$custom: #754eb6;
$custom-light: #a181cc;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb6",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 262.5,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.15871,
    "h": 297.9
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#754EB6
secondary
#B6C799
accent
#D156A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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