#754EF7#754EF7

#754EF7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.237 H 286.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#754EF7
RGBrgb(117, 78, 247)
HSLhsl(254, 91%, 64%)
HSVhsv(254, 68%, 97%)
CMYKcmyk(52.6%, 68.4%, 0%, 3.1%)
CIE-LABlab(46.90, 56.92, -79.00)
CIE-LCHlch(46.90, 97.37, 305.77°)
OKLaboklab(56.71% 0.0684 -0.227)
OKLCHoklch(56.71% 0.237 286.8)
XYZxyz(26.8440, 15.9447, 89.6408)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EF7 #D0F74E
analogous
#4E7BF7 #754EF7 #C94EF7
triadic
#754EF7 #F7754E #4EF775
tetradic
#754EF7 #F74E7B #D0F74E #4EF7C9
square
#754EF7 #F74E7B #D0F74E #4EF7C9
split-complementary
#754EF7 #F7C94E #7BF74E
monochromatic
#3309C2 #4713F4 #754EF7 #A389FA #D0C3FC

Accessibility & contrast

On white

5.01
#754EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#754EF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EF7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EF7#FFFFFF#000000##FFFFFF
##754EF71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#407A9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #754ef7;
/* rgb */ color: rgb(117, 78, 247);
/* oklch */ color: oklch(56.7% 0.237 286.8);
Tailwind
colors: {
  custom: {
    50: '#a882fb',
    500: '#754ef7',
    950: '#000000',
  },
}
SCSS
$custom: #754ef7;
$custom-light: #a882fb;
$custom-dark: #000000;
JSON
{
  "hex": "#754ef7",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 253.846,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.23711,
    "h": 286.8
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#754EF7
secondary
#E0EEB3
accent
#E600B1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #754EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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