#754EF2#754EF2

#754EF2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.231 H 287.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#754EF2
RGBrgb(117, 78, 242)
HSLhsl(254, 86%, 63%)
HSVhsv(254, 68%, 95%)
CMYKcmyk(51.7%, 67.8%, 0%, 5.1%)
CIE-LABlab(46.50, 55.53, -76.85)
CIE-LCHlch(46.50, 94.81, 305.85°)
OKLaboklab(56.29% 0.0692 -0.2207)
OKLCHoklch(56.29% 0.231 287.4)
XYZxyz(26.0828, 15.6402, 85.6317)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EF2 #CBF24E
analogous
#4E79F2 #754EF2 #C74EF2
triadic
#754EF2 #F2754E #4EF275
tetradic
#754EF2 #F24E79 #CBF24E #4EF2C7
square
#754EF2 #F24E79 #CBF24E #4EF2C7
split-complementary
#754EF2 #F2C74E #79F24E
monochromatic
#360EB8 #4915EE #754EF2 #A187F6 #CEC0FA

Accessibility & contrast

On white

5.09
#754EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#754EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EF2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EF2#FFFFFF#000000##FFFFFF
##754EF21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754ef2;
/* rgb */ color: rgb(117, 78, 242);
/* oklch */ color: oklch(56.3% 0.231 287.4);
Tailwind
colors: {
  custom: {
    50: '#a782f7',
    500: '#754ef2',
    950: '#000000',
  },
}
SCSS
$custom: #754ef2;
$custom-light: #a782f7;
$custom-dark: #000000;
JSON
{
  "hex": "#754ef2",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 242
  },
  "hsl": {
    "h": 254.268,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.23134,
    "h": 287.4
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#754EF2
secondary
#DDECB0
accent
#E303AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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