#754ED2#754ED2

#754ED2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.193 H 292.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#754ED2
RGBrgb(117, 78, 210)
HSLhsl(258, 59%, 56%)
HSVhsv(258, 63%, 82%)
CMYKcmyk(44.3%, 62.9%, 0%, 17.6%)
CIE-LABlab(44.06, 46.65, -62.65)
CIE-LCHlch(44.06, 78.11, 306.67°)
OKLaboklab(53.78% 0.0732 -0.179)
OKLCHoklch(53.78% 0.193 292.2)
XYZxyz(21.6902, 13.8832, 62.4972)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED2 #ABD24E
analogous
#4E69D2 #754ED2 #B74ED2
triadic
#754ED2 #D2754E #4ED275
tetradic
#754ED2 #D24E69 #ABD24E #4ED2B7
square
#754ED2 #D24E69 #ABD24E #4ED2B7
split-complementary
#754ED2 #D2B74E #69D24E
monochromatic
#3F2284 #562EB5 #754ED2 #9B7FDE #C1B0EB

Accessibility & contrast

On white

5.56
#754ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#754ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED2#FFFFFF#000000##FFFFFF
##754ED21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#5A6D89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754ed2;
/* rgb */ color: rgb(117, 78, 210);
/* oklch */ color: oklch(53.8% 0.193 292.2);
Tailwind
colors: {
  custom: {
    50: '#a381e1',
    500: '#754ed2',
    950: '#000000',
  },
}
SCSS
$custom: #754ed2;
$custom-light: #a381e1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed2",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 257.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.19341,
    "h": 292.2
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#754ED2
secondary
#C9D9A3
accent
#E345B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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