#7754EC#7754EC

#7754EC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.217 H 288.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7754EC
RGBrgb(119, 84, 236)
HSLhsl(254, 80%, 63%)
HSVhsv(254, 64%, 93%)
CMYKcmyk(49.6%, 64.4%, 0%, 7.5%)
CIE-LABlab(47.39, 50.99, -72.02)
CIE-LCHlch(47.39, 88.25, 305.30°)
OKLaboklab(56.83% 0.0672 -0.2065)
OKLCHoklch(56.83% 0.217 288)
XYZxyz(25.9140, 16.3175, 81.1248)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754EC #C9EC54
analogous
#547DEC #7754EC #C354EC
triadic
#7754EC #EC7754 #54EC77
tetradic
#7754EC #EC547D #C9EC54 #54ECC3
square
#7754EC #EC547D #C9EC54 #54ECC3
split-complementary
#7754EC #ECC354 #7DEC54
monochromatic
#3814B2 #4B1DE6 #7754EC #A38BF2 #CFC2F8

Accessibility & contrast

On white

4.93
#7754EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7754EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754EC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754EC#FFFFFF#000000##FFFFFF
##7754EC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#4D7999
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7754ec;
/* rgb */ color: rgb(119, 84, 236);
/* oklch */ color: oklch(56.8% 0.217 288.0);
Tailwind
colors: {
  custom: {
    50: '#a786f3',
    500: '#7754ec',
    950: '#000000',
  },
}
SCSS
$custom: #7754ec;
$custom-light: #a786f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7754ec",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 253.816,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.21716,
    "h": 288
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#7754EC
secondary
#DDE9B2
accent
#DC09AC
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7754EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7754EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva