#7754CF#7754CF

#7754CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.182 H 292.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7754CF
RGBrgb(119, 84, 207)
HSLhsl(257, 56%, 57%)
HSVhsv(257, 59%, 81%)
CMYKcmyk(42.5%, 59.4%, 0%, 18.8%)
CIE-LABlab(45.31, 42.89, -58.90)
CIE-LCHlch(45.31, 72.86, 306.06°)
OKLaboklab(54.67% 0.0694 -0.1679)
OKLCHoklch(54.67% 0.182 292.5)
XYZxyz(22.0375, 14.7669, 60.7086)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754CF #ACCF54
analogous
#546FCF #7754CF #B454CF
triadic
#7754CF #CF7754 #54CF77
tetradic
#7754CF #CF546F #ACCF54 #54CFB4
square
#7754CF #CF546F #ACCF54 #54CFB4
split-complementary
#7754CF #CFB454 #6FCF54
monochromatic
#402584 #5732B3 #7754CF #9D84DC #C3B4EA

Accessibility & contrast

On white

5.31
#7754CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7754CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754CF#FFFFFF#000000##FFFFFF
##7754CF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0669CC
Tritanopia (blue-blind)
#5F6F89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7754cf;
/* rgb */ color: rgb(119, 84, 207);
/* oklch */ color: oklch(54.7% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#a485de',
    500: '#7754cf',
    950: '#000000',
  },
}
SCSS
$custom: #7754cf;
$custom-light: #a485de;
$custom-dark: #000000;
JSON
{
  "hex": "#7754cf",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 257.073,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.18169,
    "h": 292.5
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#7754CF
secondary
#CAD8A6
accent
#DF48B4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7754CF

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

Preview Lab → · Contrast checker → · Palette generator →

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