#754DF2#754DF2

#754DF2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.232 H 287.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#754DF2
RGBrgb(117, 77, 242)
HSLhsl(255, 86%, 63%)
HSVhsv(255, 68%, 95%)
CMYKcmyk(51.7%, 68.2%, 0%, 5.1%)
CIE-LABlab(46.31, 56.05, -77.16)
CIE-LCHlch(46.31, 95.37, 305.99°)
OKLaboklab(56.16% 0.0701 -0.2216)
OKLCHoklch(56.16% 0.232 287.6)
XYZxyz(26.0123, 15.4992, 85.6082)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DF2 #CAF24D
analogous
#4D78F2 #754DF2 #C74DF2
triadic
#754DF2 #F2754D #4DF275
tetradic
#754DF2 #F24D78 #CAF24D #4DF2C7
square
#754DF2 #F24D78 #CAF24D #4DF2C7
split-complementary
#754DF2 #F2C74D #78F24D
monochromatic
#370DB7 #4914EE #754DF2 #A186F6 #CDBFFA

Accessibility & contrast

On white

5.12
#754DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#754DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DF2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DF2#FFFFFF#000000##FFFFFF
##754DF21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#45789A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754df2;
/* rgb */ color: rgb(117, 77, 242);
/* oklch */ color: oklch(56.2% 0.232 287.6);
Tailwind
colors: {
  custom: {
    50: '#a782f8',
    500: '#754df2',
    950: '#000000',
  },
}
SCSS
$custom: #754df2;
$custom-light: #a782f8;
$custom-dark: #000000;
JSON
{
  "hex": "#754df2",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 254.545,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.23246,
    "h": 287.6
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#754DF2
secondary
#DDEBAF
accent
#E303AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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