#7757DC#7757DC

#7757DC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.194 H 289.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7757DC
RGBrgb(119, 87, 220)
HSLhsl(254, 66%, 60%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(45.9%, 60.5%, 0%, 13.7%)
CIE-LABlab(46.85, 44.82, -63.85)
CIE-LCHlch(46.85, 78.01, 305.07°)
OKLaboklab(56.08% 0.0655 -0.1824)
OKLCHoklch(56.08% 0.194 289.8)
XYZxyz(23.9306, 15.9047, 69.5053)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7757DC #BCDC57
analogous
#577ADC #7757DC #B957DC
triadic
#7757DC #DC7757 #57DC77
tetradic
#7757DC #DC577A #BCDC57 #57DCB9
square
#7757DC #DC577A #BCDC57 #57DCB9
split-complementary
#7757DC #DCB957 #7ADC57
monochromatic
#3D2099 #512ACB #7757DC #A08AE7 #C9BCF1

Accessibility & contrast

On white

5.02
#7757DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7757DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7757DC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7757DC#FFFFFF#000000##FFFFFF
##7757DC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#577691
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7757dc;
/* rgb */ color: rgb(119, 87, 220);
/* oklch */ color: oklch(56.1% 0.194 289.8);
Tailwind
colors: {
  custom: {
    50: '#a588e8',
    500: '#7757dc',
    950: '#000000',
  },
}
SCSS
$custom: #7757dc;
$custom-light: #a588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7757dc",
  "rgb": {
    "r": 119,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 254.436,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56075,
    "c": 0.19386,
    "h": 289.8
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#7757DC
secondary
#D5E1AE
accent
#CD18A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7757DC

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

Preview Lab → · Contrast checker → · Palette generator →

#7757DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva