#754EDC#754EDC

#754EDC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.205 H 290.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#754EDC
RGBrgb(117, 78, 220)
HSLhsl(256, 67%, 58%)
HSVhsv(256, 65%, 86%)
CMYKcmyk(46.8%, 64.5%, 0%, 13.7%)
CIE-LABlab(44.80, 49.41, -67.18)
CIE-LCHlch(44.80, 83.40, 306.33°)
OKLaboklab(54.54% 0.0722 -0.1923)
OKLCHoklch(54.54% 0.205 290.6)
XYZxyz(22.9751, 14.3971, 69.2646)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EDC #B5DC4E
analogous
#4E6EDC #754EDC #BC4EDC
triadic
#754EDC #DC754E #4EDC75
tetradic
#754EDC #DC4E6E #B5DC4E #4EDCBC
square
#754EDC #DC4E6E #B5DC4E #4EDCBC
split-complementary
#754EDC #DCBC4E #6EDC4E
monochromatic
#3D1D93 #5327C6 #754EDC #9D81E6 #C5B4F0

Accessibility & contrast

On white

5.41
#754EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754EDC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EDC#FFFFFF#000000##FFFFFF
##754EDC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#54708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754edc;
/* rgb */ color: rgb(117, 78, 220);
/* oklch */ color: oklch(54.5% 0.205 290.6);
Tailwind
colors: {
  custom: {
    50: '#a582e8',
    500: '#754edc',
    950: '#000000',
  },
}
SCSS
$custom: #754edc;
$custom-light: #a582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#754edc",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 256.479,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.20545,
    "h": 290.6
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#754EDC
secondary
#D0DFA7
accent
#EA3EBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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