#7754CD#7754CD

#7754CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.179 H 292.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7754CD
RGBrgb(119, 84, 205)
HSLhsl(257, 55%, 57%)
HSVhsv(257, 59%, 80%)
CMYKcmyk(42%, 59%, 0%, 19.6%)
CIE-LABlab(45.18, 42.34, -57.97)
CIE-LCHlch(45.18, 71.78, 306.14°)
OKLaboklab(54.53% 0.0695 -0.1652)
OKLCHoklch(54.53% 0.179 292.8)
XYZxyz(21.7945, 14.6698, 59.4290)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754CD #AACD54
analogous
#546ECD #7754CD #B354CD
triadic
#7754CD #CD7754 #54CD77
tetradic
#7754CD #CD546E #AACD54 #54CDB3
square
#7754CD #CD546E #AACD54 #54CDB3
split-complementary
#7754CD #CDB354 #6ECD54
monochromatic
#402681 #5834B0 #7754CD #9D83DB #C2B3E9

Accessibility & contrast

On white

5.34
#7754CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7754CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754CD#FFFFFF#000000##FFFFFF
##7754CD1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0F69CA
Tritanopia (blue-blind)
#5F6F88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7754cd;
/* rgb */ color: rgb(119, 84, 205);
/* oklch */ color: oklch(54.5% 0.179 292.8);
Tailwind
colors: {
  custom: {
    50: '#a485dd',
    500: '#7754cd',
    950: '#000000',
  },
}
SCSS
$custom: #7754cd;
$custom-light: #a485dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7754cd",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 257.355,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.17918,
    "h": 292.8
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#7754CD
secondary
#C9D7A6
accent
#DE4AB3
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7754CD

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

Preview Lab → · Contrast checker → · Palette generator →

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