#7754E8#7754E8

#7754E8 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.5% C 0.212 H 288.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7754E8
RGBrgb(119, 84, 232)
HSLhsl(254, 76%, 62%)
HSVhsv(254, 64%, 91%)
CMYKcmyk(48.7%, 63.8%, 0%, 9%)
CIE-LABlab(47.09, 49.87, -70.25)
CIE-LCHlch(47.09, 86.15, 305.37°)
OKLaboklab(56.52% 0.0677 -0.2013)
OKLCHoklch(56.52% 0.212 288.6)
XYZxyz(25.3393, 16.0877, 78.0984)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754E8 #C5E854
analogous
#547BE8 #7754E8 #C154E8
triadic
#7754E8 #E87754 #54E877
tetradic
#7754E8 #E8547B #C5E854 #54E8C1
square
#7754E8 #E8547B #C5E854 #54E8C1
split-complementary
#7754E8 #E8C154 #7BE854
monochromatic
#3A17AB #4C1EE1 #7754E8 #A28AEF #CDC0F7

Accessibility & contrast

On white

4.98
#7754E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7754E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754E8#FFFFFF#000000##FFFFFF
##7754E81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#507897
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7754e8;
/* rgb */ color: rgb(119, 84, 232);
/* oklch */ color: oklch(56.5% 0.212 288.6);
Tailwind
colors: {
  custom: {
    50: '#a786f0',
    500: '#7754e8',
    950: '#000000',
  },
}
SCSS
$custom: #7754e8;
$custom-light: #a786f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7754e8",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 254.189,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.21237,
    "h": 288.6
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#7754E8
secondary
#DAE7B1
accent
#D80DA8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7754E8

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

Preview Lab → · Contrast checker → · Palette generator →

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