#754FF2#754FF2

#754FF2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.230 H 287.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#754FF2
RGBrgb(117, 79, 242)
HSLhsl(254, 86%, 63%)
HSVhsv(254, 67%, 95%)
CMYKcmyk(51.7%, 67.4%, 0%, 5.1%)
CIE-LABlab(46.69, 55.00, -76.54)
CIE-LCHlch(46.69, 94.26, 305.70°)
OKLaboklab(56.43% 0.0684 -0.2198)
OKLCHoklch(56.43% 0.23 287.3)
XYZxyz(26.1544, 15.7834, 85.6556)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FF2 #CCF24F
analogous
#4F7AF2 #754FF2 #C74FF2
triadic
#754FF2 #F2754F #4FF275
tetradic
#754FF2 #F24F7A #CCF24F #4FF2C7
square
#754FF2 #F24F7A #CCF24F #4FF2C7
split-complementary
#754FF2 #F2C74F #7AF24F
monochromatic
#360EB9 #4816EE #754FF2 #A288F6 #CEC1FA

Accessibility & contrast

On white

5.05
#754FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#754FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FF2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FF2#FFFFFF#000000##FFFFFF
##754FF21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#44799A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #754ff2;
/* rgb */ color: rgb(117, 79, 242);
/* oklch */ color: oklch(56.4% 0.230 287.3);
Tailwind
colors: {
  custom: {
    50: '#a783f7',
    500: '#754ff2',
    950: '#000000',
  },
}
SCSS
$custom: #754ff2;
$custom-light: #a783f7;
$custom-dark: #000000;
JSON
{
  "hex": "#754ff2",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 253.988,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.23022,
    "h": 287.3
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#754FF2
secondary
#DEECB1
accent
#E303AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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