#754FEE#754FEE

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

Color values

HEX#754FEE
RGBrgb(117, 79, 238)
HSLhsl(254, 82%, 62%)
HSVhsv(254, 67%, 93%)
CMYKcmyk(50.8%, 66.8%, 0%, 6.7%)
CIE-LABlab(46.37, 53.89, -74.81)
CIE-LCHlch(46.37, 92.20, 305.77°)
OKLaboklab(56.1% 0.069 -0.2147)
OKLCHoklch(56.1% 0.226 287.8)
XYZxyz(25.5602, 15.5457, 82.5262)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FEE #C8EE4F
analogous
#4F78EE #754FEE #C54FEE
triadic
#754FEE #EE754F #4FEE75
tetradic
#754FEE #EE4F78 #C8EE4F #4FEEC5
square
#754FEE #EE4F78 #C8EE4F #4FEEC5
split-complementary
#754FEE #EEC54F #78EE4F
monochromatic
#3711B1 #4917E9 #754FEE #A187F3 #CDBFF9

Accessibility & contrast

On white

5.11
#754FEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#754FEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FEE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FEE#FFFFFF#000000##FFFFFF
##754FEE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#487798
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754fee;
/* rgb */ color: rgb(117, 79, 238);
/* oklch */ color: oklch(56.1% 0.226 287.8);
Tailwind
colors: {
  custom: {
    50: '#a783f5',
    500: '#754fee',
    950: '#000000',
  },
}
SCSS
$custom: #754fee;
$custom-light: #a783f5;
$custom-dark: #000000;
JSON
{
  "hex": "#754fee",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 238
  },
  "hsl": {
    "h": 254.34,
    "s": 82.383,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.22554,
    "h": 287.8
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#754FEE
secondary
#DCEAAF
accent
#DF07AB
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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