#754ED9#754ED9

#754ED9 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.202 H 291.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#754ED9
RGBrgb(117, 78, 217)
HSLhsl(257, 65%, 58%)
HSVhsv(257, 64%, 85%)
CMYKcmyk(46.1%, 64.1%, 0%, 14.9%)
CIE-LABlab(44.57, 48.58, -65.83)
CIE-LCHlch(44.57, 81.82, 306.42°)
OKLaboklab(54.31% 0.0726 -0.1884)
OKLCHoklch(54.31% 0.202 291.1)
XYZxyz(22.5814, 14.2396, 67.1909)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED9 #B2D94E
analogous
#4E6CD9 #754ED9 #BB4ED9
triadic
#754ED9 #D9754E #4ED975
tetradic
#754ED9 #D94E6C #B2D94E #4ED9BB
square
#754ED9 #D94E6C #B2D94E #4ED9BB
split-complementary
#754ED9 #D9BB4E #6CD94E
monochromatic
#3E1F8E #5429C0 #754ED9 #9C80E4 #C4B3EF

Accessibility & contrast

On white

5.46
#754ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#754ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED9#FFFFFF#000000##FFFFFF
##754ED91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#566F8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ed9;
/* rgb */ color: rgb(117, 78, 217);
/* oklch */ color: oklch(54.3% 0.202 291.1);
Tailwind
colors: {
  custom: {
    50: '#a482e6',
    500: '#754ed9',
    950: '#000000',
  },
}
SCSS
$custom: #754ed9;
$custom-light: #a482e6;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed9",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 256.835,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.20185,
    "h": 291.1
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#754ED9
secondary
#CEDDA6
accent
#E840B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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