#754CE5#754CE5

#754CE5 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.219 H 289.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#754CE5
RGBrgb(117, 76, 229)
HSLhsl(256, 75%, 60%)
HSVhsv(256, 67%, 90%)
CMYKcmyk(48.9%, 66.8%, 0%, 10.2%)
CIE-LABlab(45.09, 52.97, -71.82)
CIE-LCHlch(45.09, 89.24, 306.41°)
OKLaboklab(54.97% 0.073 -0.206)
OKLCHoklch(54.97% 0.219 289.5)
XYZxyz(24.0594, 14.6069, 75.6653)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CE5 #BCE54C
analogous
#4C70E5 #754CE5 #C14CE5
triadic
#754CE5 #E5754C #4CE575
tetradic
#754CE5 #E54C70 #BCE54C #4CE5C1
square
#754CE5 #E54C70 #BCE54C #4CE5C1
split-complementary
#754CE5 #E5C14C #70E54C
monochromatic
#3C179F #501FD5 #754CE5 #9E81ED #C7B7F5

Accessibility & contrast

On white

5.35
#754CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#754CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CE5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CE5#FFFFFF#000000##FFFFFF
##754CE51.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#4F7292
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754ce5;
/* rgb */ color: rgb(117, 76, 229);
/* oklch */ color: oklch(55.0% 0.219 289.5);
Tailwind
colors: {
  custom: {
    50: '#a681ee',
    500: '#754ce5',
    950: '#000000',
  },
}
SCSS
$custom: #754ce5;
$custom-light: #a681ee;
$custom-dark: #000000;
JSON
{
  "hex": "#754ce5",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 256.078,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.21852,
    "h": 289.5
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#754CE5
secondary
#D4E4A9
accent
#F137BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #754CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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