#7754F2#7754F2

#7754F2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.224 H 287.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7754F2
RGBrgb(119, 84, 242)
HSLhsl(253, 86%, 64%)
HSVhsv(253, 65%, 95%)
CMYKcmyk(50.8%, 65.3%, 0%, 5.1%)
CIE-LABlab(47.84, 52.68, -74.65)
CIE-LCHlch(47.84, 91.37, 305.21°)
OKLaboklab(57.3% 0.0665 -0.2142)
OKLCHoklch(57.3% 0.224 287.3)
XYZxyz(26.8004, 16.6721, 85.7931)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7754F2 #CFF254
analogous
#5480F2 #7754F2 #C654F2
triadic
#7754F2 #F27754 #54F277
tetradic
#7754F2 #F25480 #CFF254 #54F2C6
square
#7754F2 #F25480 #CFF254 #54F2C6
split-complementary
#7754F2 #F2C654 #80F254
monochromatic
#350EBD #4A1BEE #7754F2 #A48DF6 #D1C6FB

Accessibility & contrast

On white

4.84
#7754F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7754F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7754F2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7754F2#FFFFFF#000000##FFFFFF
##7754F21.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#497B9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7754f2;
/* rgb */ color: rgb(119, 84, 242);
/* oklch */ color: oklch(57.3% 0.224 287.3);
Tailwind
colors: {
  custom: {
    50: '#a886f7',
    500: '#7754f2',
    950: '#000000',
  },
}
SCSS
$custom: #7754f2;
$custom-light: #a886f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7754f2",
  "rgb": {
    "r": 119,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 253.291,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.2243,
    "h": 287.3
  },
  "luminance": 0.16673
}

Semantic roles & 50–950 ramp

primary
#7754F2
secondary
#E0EDB5
accent
#E203B1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7754F2

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

Preview Lab → · Contrast checker → · Palette generator →

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