#754EB3#754EB3

#754EB3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.155 H 298.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#754EB3
RGBrgb(117, 78, 179)
HSLhsl(263, 40%, 50%)
HSVhsv(263, 56%, 70%)
CMYKcmyk(34.6%, 56.4%, 0%, 29.8%)
CIE-LABlab(41.98, 38.26, -48.00)
CIE-LCHlch(41.98, 61.39, 308.56°)
OKLaboklab(51.59% 0.0743 -0.1359)
OKLCHoklch(51.59% 0.155 298.7)
XYZxyz(18.1952, 12.4852, 44.0904)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB3 #8CB34E
analogous
#4E59B3 #754EB3 #A74EB3
triadic
#754EB3 #B3754E #4EB375
tetradic
#754EB3 #B34E59 #8CB34E #4EB3A7
square
#754EB3 #B34E59 #8CB34E #4EB3A7
split-complementary
#754EB3 #B3A74E #59B34E
monochromatic
#3D285E #593B89 #754EB3 #9679C5 #B8A4D8

Accessibility & contrast

On white

6.01
#754EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#754EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB3#FFFFFF#000000##FFFFFF
##754EB31.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#2F62B1
Tritanopia (blue-blind)
#676379
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754eb3;
/* rgb */ color: rgb(117, 78, 179);
/* oklch */ color: oklch(51.6% 0.155 298.7);
Tailwind
colors: {
  custom: {
    50: '#a081ca',
    500: '#754eb3',
    950: '#000000',
  },
}
SCSS
$custom: #754eb3;
$custom-light: #a081ca;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb3",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 263.168,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.15492,
    "h": 298.7
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#754EB3
secondary
#B4C598
accent
#D058A2
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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