#7754CC#7754CC

#7754CC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.178 H 293.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7754CC
RGBrgb(119, 84, 204)
HSLhsl(258, 54%, 56%)
HSVhsv(258, 59%, 80%)
CMYKcmyk(41.7%, 58.8%, 0%, 20%)
CIE-LABlab(45.11, 42.06, -57.50)
CIE-LCHlch(45.11, 71.24, 306.19°)
OKLaboklab(54.46% 0.0695 -0.1638)
OKLCHoklch(54.46% 0.178 293)
XYZxyz(21.6742, 14.6216, 58.7953)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754CC #A9CC54
analogous
#546DCC #7754CC #B354CC
triadic
#7754CC #CC7754 #54CC77
tetradic
#7754CC #CC546D #A9CC54 #54CCB3
square
#7754CC #CC546D #A9CC54 #54CCB3
split-complementary
#7754CC #CCB354 #6DCC54
monochromatic
#402680 #5834AF #7754CC #9C83DA #C2B2E8

Accessibility & contrast

On white

5.35
#7754CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7754CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754CC#FFFFFF#000000##FFFFFF
##7754CC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#1369C9
Tritanopia (blue-blind)
#606E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7754cc;
/* rgb */ color: rgb(119, 84, 204);
/* oklch */ color: oklch(54.5% 0.178 293.0);
Tailwind
colors: {
  custom: {
    50: '#a485dc',
    500: '#7754cc',
    950: '#000000',
  },
}
SCSS
$custom: #7754cc;
$custom-light: #a485dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7754cc",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 257.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54457,
    "c": 0.17792,
    "h": 293
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#7754CC
secondary
#C8D7A5
accent
#DD4AB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7754CC

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

Preview Lab → · Contrast checker → · Palette generator →

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