#754CE1#754CE1

#754CE1 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.214 H 290.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#754CE1
RGBrgb(117, 76, 225)
HSLhsl(257, 71%, 59%)
HSVhsv(257, 66%, 88%)
CMYKcmyk(48%, 66.2%, 0%, 11.8%)
CIE-LABlab(44.78, 51.86, -70.06)
CIE-LCHlch(44.78, 87.16, 306.51°)
OKLaboklab(54.65% 0.0736 -0.2008)
OKLCHoklch(54.65% 0.214 290.1)
XYZxyz(23.5073, 14.3861, 72.7578)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CE1 #B8E14C
analogous
#4C6EE1 #754CE1 #C04CE1
triadic
#754CE1 #E1754C #4CE175
tetradic
#754CE1 #E14C6E #B8E14C #4CE1C0
square
#754CE1 #E14C6E #B8E14C #4CE1C0
split-complementary
#754CE1 #E1C04C #6EE14C
monochromatic
#3D1A99 #5122CD #754CE1 #9D80EA #C6B5F3

Accessibility & contrast

On white

5.42
#754CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#754CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CE1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CE1#FFFFFF#000000##FFFFFF
##754CE11.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#517190
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754ce1;
/* rgb */ color: rgb(117, 76, 225);
/* oklch */ color: oklch(54.6% 0.214 290.1);
Tailwind
colors: {
  custom: {
    50: '#a581eb',
    500: '#754ce1',
    950: '#000000',
  },
}
SCSS
$custom: #754ce1;
$custom-light: #a581eb;
$custom-dark: #000000;
JSON
{
  "hex": "#754ce1",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 256.51,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54646,
    "c": 0.21383,
    "h": 290.1
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#754CE1
secondary
#D2E2A7
accent
#EE3ABC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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