#754EE2#754EE2

#754EE2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.213 H 289.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#754EE2
RGBrgb(117, 78, 226)
HSLhsl(256, 72%, 60%)
HSVhsv(256, 65%, 89%)
CMYKcmyk(48.2%, 65.5%, 0%, 11.4%)
CIE-LABlab(45.25, 51.07, -69.86)
CIE-LCHlch(45.25, 86.54, 306.17°)
OKLaboklab(55.01% 0.0715 -0.2002)
OKLCHoklch(55.01% 0.213 289.7)
XYZxyz(23.7840, 14.7207, 73.5250)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE2 #BBE24E
analogous
#4E71E2 #754EE2 #BF4EE2
triadic
#754EE2 #E2754E #4EE275
tetradic
#754EE2 #E24E71 #BBE24E #4EE2BF
square
#754EE2 #E24E71 #BBE24E #4EE2BF
split-complementary
#754EE2 #E2BF4E #71E24E
monochromatic
#3C1A9C #5022D1 #754EE2 #9E83EB #C7B7F3

Accessibility & contrast

On white

5.32
#754EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#754EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE2#FFFFFF#000000##FFFFFF
##754EE21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#517291
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754ee2;
/* rgb */ color: rgb(117, 78, 226);
/* oklch */ color: oklch(55.0% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#a582ec',
    500: '#754ee2',
    950: '#000000',
  },
}
SCSS
$custom: #754ee2;
$custom-light: #a582ec;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee2",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 255.811,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.21259,
    "h": 289.7
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#754EE2
secondary
#D3E3A9
accent
#EF39BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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