#7757DB#7757DB

#7757DB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.193 H 289.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7757DB
RGBrgb(119, 87, 219)
HSLhsl(255, 65%, 60%)
HSVhsv(255, 60%, 86%)
CMYKcmyk(45.7%, 60.3%, 0%, 14.1%)
CIE-LABlab(46.78, 44.54, -63.39)
CIE-LCHlch(46.78, 77.47, 305.09°)
OKLaboklab(56% 0.0656 -0.1811)
OKLCHoklch(56% 0.193 289.9)
XYZxyz(23.7985, 15.8519, 68.8099)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7757DB #BBDB57
analogous
#5779DB #7757DB #B957DB
triadic
#7757DB #DB7757 #57DB77
tetradic
#7757DB #DB5779 #BBDB57 #57DBB9
square
#7757DB #DB5779 #BBDB57 #57DBB9
split-complementary
#7757DB #DBB957 #79DB57
monochromatic
#3D2097 #522BCA #7757DB #A089E6 #C9BCF1

Accessibility & contrast

On white

5.04
#7757DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7757DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7757DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7757DB#FFFFFF#000000##FFFFFF
##7757DB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#587591
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7757db;
/* rgb */ color: rgb(119, 87, 219);
/* oklch */ color: oklch(56.0% 0.193 289.9);
Tailwind
colors: {
  custom: {
    50: '#a588e7',
    500: '#7757db',
    950: '#000000',
  },
}
SCSS
$custom: #7757db;
$custom-light: #a588e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7757db",
  "rgb": {
    "r": 119,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 254.545,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.19261,
    "h": 289.9
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#7757DB
secondary
#D4E0AD
accent
#E840BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7757DB

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

Preview Lab → · Contrast checker → · Palette generator →

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