#754EF1#754EF1

#754EF1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.230 H 287.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#754EF1
RGBrgb(117, 78, 241)
HSLhsl(254, 85%, 63%)
HSVhsv(254, 68%, 95%)
CMYKcmyk(51.5%, 67.6%, 0%, 5.5%)
CIE-LABlab(46.42, 55.25, -76.42)
CIE-LCHlch(46.42, 94.30, 305.86°)
OKLaboklab(56.21% 0.0694 -0.2195)
OKLCHoklch(56.21% 0.23 287.5)
XYZxyz(25.9330, 15.5803, 84.8429)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EF1 #CAF14E
analogous
#4E78F1 #754EF1 #C74EF1
triadic
#754EF1 #F1754E #4EF175
tetradic
#754EF1 #F14E78 #CAF14E #4EF1C7
square
#754EF1 #F14E78 #CAF14E #4EF1C7
split-complementary
#754EF1 #F1C74E #78F14E
monochromatic
#370EB6 #4915ED #754EF1 #A187F5 #CDBFFA

Accessibility & contrast

On white

5.10
#754EF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#754EF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EF1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EF1#FFFFFF#000000##FFFFFF
##754EF11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#457899
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754ef1;
/* rgb */ color: rgb(117, 78, 241);
/* oklch */ color: oklch(56.2% 0.230 287.5);
Tailwind
colors: {
  custom: {
    50: '#a782f7',
    500: '#754ef1',
    950: '#000000',
  },
}
SCSS
$custom: #754ef1;
$custom-light: #a782f7;
$custom-dark: #000000;
JSON
{
  "hex": "#754ef1",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 254.356,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.23018,
    "h": 287.5
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#754EF1
secondary
#DDEBB0
accent
#E204AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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