#7754EB#7754EB

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

Color values

HEX#7754EB
RGBrgb(119, 84, 235)
HSLhsl(254, 79%, 63%)
HSVhsv(254, 64%, 92%)
CMYKcmyk(49.4%, 64.3%, 0%, 7.8%)
CIE-LABlab(47.31, 50.71, -71.58)
CIE-LCHlch(47.31, 87.72, 305.31°)
OKLaboklab(56.75% 0.0673 -0.2052)
OKLCHoklch(56.75% 0.216 288.2)
XYZxyz(25.7691, 16.2596, 80.3618)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754EB #C8EB54
analogous
#547DEB #7754EB #C254EB
triadic
#7754EB #EB7754 #54EB77
tetradic
#7754EB #EB547D #C8EB54 #54EBC2
square
#7754EB #EB547D #C8EB54 #54EBC2
split-complementary
#7754EB #EBC254 #7DEB54
monochromatic
#3915B0 #4B1DE5 #7754EB #A38BF1 #CEC2F8

Accessibility & contrast

On white

4.94
#7754EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7754EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754EB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754EB#FFFFFF#000000##FFFFFF
##7754EB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#4E7998
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7754eb;
/* rgb */ color: rgb(119, 84, 235);
/* oklch */ color: oklch(56.8% 0.216 288.2);
Tailwind
colors: {
  custom: {
    50: '#a786f2',
    500: '#7754eb',
    950: '#000000',
  },
}
SCSS
$custom: #7754eb;
$custom-light: #a786f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7754eb",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 253.907,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.21597,
    "h": 288.2
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#7754EB
secondary
#DCE9B2
accent
#DB0AAB
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7754EB

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

Preview Lab → · Contrast checker → · Palette generator →

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