#754EE8#754EE8

#754EE8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.220 H 288.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#754EE8
RGBrgb(117, 78, 232)
HSLhsl(255, 77%, 61%)
HSVhsv(255, 66%, 91%)
CMYKcmyk(49.6%, 66.4%, 0%, 9%)
CIE-LABlab(45.71, 52.74, -72.51)
CIE-LCHlch(45.71, 89.66, 306.03°)
OKLaboklab(55.48% 0.0707 -0.208)
OKLCHoklch(55.48% 0.22 288.8)
XYZxyz(24.6218, 15.0558, 77.9370)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE8 #C1E84E
analogous
#4E74E8 #754EE8 #C24EE8
triadic
#754EE8 #E8754E #4EE875
tetradic
#754EE8 #E84E74 #C1E84E #4EE8C2
square
#754EE8 #E84E74 #C1E84E #4EE8C2
split-complementary
#754EE8 #E8C24E #74E84E
monochromatic
#3A16A6 #4D1DDC #754EE8 #9F84EF #C9BAF6

Accessibility & contrast

On white

5.24
#754EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#754EE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE8#FFFFFF#000000##FFFFFF
##754EE81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#4C7495
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754ee8;
/* rgb */ color: rgb(117, 78, 232);
/* oklch */ color: oklch(55.5% 0.220 288.8);
Tailwind
colors: {
  custom: {
    50: '#a682f0',
    500: '#754ee8',
    950: '#000000',
  },
}
SCSS
$custom: #754ee8;
$custom-light: #a682f0;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee8",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 232
  },
  "hsl": {
    "h": 255.195,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55483,
    "c": 0.21968,
    "h": 288.8
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#754EE8
secondary
#D7E6AC
accent
#D90CA5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #754EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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