#754EC0#754EC0

#754EC0 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.171 H 295.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#754EC0
RGBrgb(117, 78, 192)
HSLhsl(261, 48%, 53%)
HSVhsv(261, 59%, 75%)
CMYKcmyk(39.1%, 59.4%, 0%, 24.7%)
CIE-LABlab(42.82, 41.74, -54.26)
CIE-LCHlch(42.82, 68.46, 307.57°)
OKLaboklab(52.47% 0.0742 -0.1543)
OKLCHoklch(52.47% 0.171 295.7)
XYZxyz(19.5725, 13.0361, 51.3440)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EC0 #99C04E
analogous
#4E60C0 #754EC0 #AE4EC0
triadic
#754EC0 #C0754E #4EC075
tetradic
#754EC0 #C04E60 #99C04E #4EC0AE
square
#754EC0 #C04E60 #99C04E #4EC0AE
split-complementary
#754EC0 #C0AE4E #60C04E
monochromatic
#3F276D #59379A #754EC0 #987BD0 #BBA8E0

Accessibility & contrast

On white

5.82
#754EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#754EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EC0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EC0#FFFFFF#000000##FFFFFF
##754EC01.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#1B63BD
Tritanopia (blue-blind)
#62677F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754ec0;
/* rgb */ color: rgb(117, 78, 192);
/* oklch */ color: oklch(52.5% 0.171 295.7);
Tailwind
colors: {
  custom: {
    50: '#a281d4',
    500: '#754ec0',
    950: '#000000',
  },
}
SCSS
$custom: #754ec0;
$custom-light: #a281d4;
$custom-dark: #000000;
JSON
{
  "hex": "#754ec0",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 260.526,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.17126,
    "h": 295.7
  },
  "luminance": 0.13036
}

Semantic roles & 50–950 ramp

primary
#754EC0
secondary
#BDCE9C
accent
#D751A9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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