#7754C8#7754C8

#7754C8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.173 H 293.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7754C8
RGBrgb(119, 84, 200)
HSLhsl(258, 51%, 56%)
HSVhsv(258, 58%, 78%)
CMYKcmyk(40.5%, 58%, 0%, 21.6%)
CIE-LABlab(44.85, 40.96, -55.62)
CIE-LCHlch(44.85, 69.08, 306.37°)
OKLaboklab(54.18% 0.0696 -0.1583)
OKLCHoklch(54.18% 0.173 293.7)
XYZxyz(21.2006, 14.4322, 56.3011)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754C8 #A5C854
analogous
#546BC8 #7754C8 #B154C8
triadic
#7754C8 #C87754 #54C877
tetradic
#7754C8 #C8546B #A5C854 #54C8B1
square
#7754C8 #C8546B #A5C854 #54C8B1
split-complementary
#7754C8 #C8B154 #6BC854
monochromatic
#40277A #5936A9 #7754C8 #9C82D7 #C1B1E6

Accessibility & contrast

On white

5.40
#7754C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7754C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754C8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754C8#FFFFFF#000000##FFFFFF
##7754C81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCC
Deuteranopia (green-blind)
#1D68C5
Tritanopia (blue-blind)
#626D86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7754c8;
/* rgb */ color: rgb(119, 84, 200);
/* oklch */ color: oklch(54.2% 0.173 293.7);
Tailwind
colors: {
  custom: {
    50: '#a385d9',
    500: '#7754c8',
    950: '#000000',
  },
}
SCSS
$custom: #7754c8;
$custom-light: #a385d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7754c8",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 258.103,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.17288,
    "h": 293.7
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#7754C8
secondary
#C5D4A4
accent
#DB4DB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7754C8

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

Preview Lab → · Contrast checker → · Palette generator →

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