#754EEF#754EEF

#754EEF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.228 H 287.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#754EEF
RGBrgb(117, 78, 239)
HSLhsl(255, 83%, 62%)
HSVhsv(255, 67%, 94%)
CMYKcmyk(51%, 67.4%, 0%, 6.3%)
CIE-LABlab(46.26, 54.69, -75.56)
CIE-LCHlch(46.26, 93.27, 305.90°)
OKLaboklab(56.05% 0.0697 -0.2169)
OKLCHoklch(56.05% 0.228 287.8)
XYZxyz(25.6359, 15.4615, 83.2782)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EEF #C8EF4E
analogous
#4E78EF #754EEF #C54EEF
triadic
#754EEF #EF754E #4EEF75
tetradic
#754EEF #EF4E78 #C8EF4E #4EEFC5
square
#754EEF #EF4E78 #C8EF4E #4EEFC5
split-complementary
#754EEF #EFC54E #78EF4E
monochromatic
#3710B2 #4916EA #754EEF #A186F4 #CDBEF9

Accessibility & contrast

On white

5.13
#754EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#754EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EEF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EEF#FFFFFF#000000##FFFFFF
##754EEF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#477798
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754eef;
/* rgb */ color: rgb(117, 78, 239);
/* oklch */ color: oklch(56.0% 0.228 287.8);
Tailwind
colors: {
  custom: {
    50: '#a782f5',
    500: '#754eef',
    950: '#000000',
  },
}
SCSS
$custom: #754eef;
$custom-light: #a782f5;
$custom-dark: #000000;
JSON
{
  "hex": "#754eef",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 239
  },
  "hsl": {
    "h": 254.534,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.22786,
    "h": 287.8
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#754EEF
secondary
#DCEAAF
accent
#E006AB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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