#7754FC#7754FC

#7754FC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.236 H 286.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7754FC
RGBrgb(119, 84, 252)
HSLhsl(253, 97%, 66%)
HSVhsv(253, 67%, 99%)
CMYKcmyk(52.8%, 66.7%, 0%, 1.2%)
CIE-LABlab(48.62, 55.50, -78.97)
CIE-LCHlch(48.62, 96.52, 305.10°)
OKLaboklab(58.11% 0.0652 -0.2269)
OKLCHoklch(58.11% 0.236 286)
XYZxyz(28.3435, 17.2893, 93.9203)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754FC #D9FC54
analogous
#5485FC #7754FC #CB54FC
triadic
#7754FC #FC7754 #54FC77
tetradic
#7754FC #FC5485 #D9FC54 #54FCCB
square
#7754FC #FC5485 #D9FC54 #54FCCB
split-complementary
#7754FC #FCCB54 #85FC54
monochromatic
#2F04D2 #4718FB #7754FC #A790FD #D7CCFE

Accessibility & contrast

On white

4.71
#7754FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7754FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754FC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754FC#FFFFFF#000000##FFFFFF
##7754FC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006FF9
Tritanopia (blue-blind)
#407FA1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7754fc;
/* rgb */ color: rgb(119, 84, 252);
/* oklch */ color: oklch(58.1% 0.236 286.0);
Tailwind
colors: {
  custom: {
    50: '#a986ff',
    500: '#7754fc',
    950: '#000000',
  },
}
SCSS
$custom: #7754fc;
$custom-light: #a986ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7754fc",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 252
  },
  "hsl": {
    "h": 252.5,
    "s": 96.552,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.23607,
    "h": 286
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#7754FC
secondary
#E6F2BA
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7754FC

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

Preview Lab → · Contrast checker → · Palette generator →

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