#754EEC#754EEC

#754EEC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.224 H 288.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#754EEC
RGBrgb(117, 78, 236)
HSLhsl(255, 81%, 62%)
HSVhsv(255, 67%, 93%)
CMYKcmyk(50.4%, 66.9%, 0%, 7.5%)
CIE-LABlab(46.02, 53.86, -74.26)
CIE-LCHlch(46.02, 91.73, 305.95°)
OKLaboklab(55.8% 0.0702 -0.2131)
OKLCHoklch(55.8% 0.224 288.2)
XYZxyz(25.1964, 15.2857, 80.9634)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EEC #C5EC4E
analogous
#4E76EC #754EEC #C44EEC
triadic
#754EEC #EC754E #4EEC75
tetradic
#754EEC #EC4E76 #C5EC4E #4EECC4
square
#754EEC #EC4E76 #C5EC4E #4EECC4
split-complementary
#754EEC #ECC44E #76EC4E
monochromatic
#3913AD #4B19E4 #754EEC #A085F2 #CBBDF8

Accessibility & contrast

On white

5.18
#754EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#754EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EEC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EEC#FFFFFF#000000##FFFFFF
##754EEC1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#497697
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #754eec;
/* rgb */ color: rgb(117, 78, 236);
/* oklch */ color: oklch(55.8% 0.224 288.2);
Tailwind
colors: {
  custom: {
    50: '#a782f3',
    500: '#754eec',
    950: '#000000',
  },
}
SCSS
$custom: #754eec;
$custom-light: #a782f3;
$custom-dark: #000000;
JSON
{
  "hex": "#754eec",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 254.81,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.22437,
    "h": 288.2
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#754EEC
secondary
#DAE8AE
accent
#DD09A9
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #754EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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