#7754E5#7754E5

#7754E5 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.209 H 289.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7754E5
RGBrgb(119, 84, 229)
HSLhsl(254, 74%, 61%)
HSVhsv(254, 63%, 90%)
CMYKcmyk(48%, 63.3%, 0%, 10.2%)
CIE-LABlab(46.87, 49.02, -68.92)
CIE-LCHlch(46.87, 84.58, 305.42°)
OKLaboklab(56.29% 0.068 -0.1974)
OKLCHoklch(56.29% 0.209 289)
XYZxyz(24.9169, 15.9187, 75.8733)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754E5 #C2E554
analogous
#547AE5 #7754E5 #C054E5
triadic
#7754E5 #E57754 #54E577
tetradic
#7754E5 #E5547A #C2E554 #54E5C0
square
#7754E5 #E5547A #C2E554 #54E5C0
split-complementary
#7754E5 #E5C054 #7AE554
monochromatic
#3B19A5 #4E21DB #7754E5 #A189ED #CCBEF5

Accessibility & contrast

On white

5.02
#7754E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7754E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754E5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754E5#FFFFFF#000000##FFFFFF
##7754E51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#527795
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7754e5;
/* rgb */ color: rgb(119, 84, 229);
/* oklch */ color: oklch(56.3% 0.209 289.0);
Tailwind
colors: {
  custom: {
    50: '#a686ee',
    500: '#7754e5',
    950: '#000000',
  },
}
SCSS
$custom: #7754e5;
$custom-light: #a686ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7754e5",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 254.483,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.20874,
    "h": 289
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#7754E5
secondary
#D8E6AF
accent
#D610A6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7754E5

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

Preview Lab → · Contrast checker → · Palette generator →

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