#7757CA#7757CA

#7757CA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.171 H 292.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7757CA
RGBrgb(119, 87, 202)
HSLhsl(257, 52%, 57%)
HSVhsv(257, 57%, 79%)
CMYKcmyk(41.1%, 56.9%, 0%, 20.8%)
CIE-LABlab(45.64, 39.79, -55.50)
CIE-LCHlch(45.64, 68.29, 305.64°)
OKLaboklab(54.8% 0.066 -0.1579)
OKLCHoklch(54.8% 0.171 292.7)
XYZxyz(21.6737, 15.0020, 57.6194)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7757CA #AACA57
analogous
#5771CA #7757CA #B157CA
triadic
#7757CA #CA7757 #57CA77
tetradic
#7757CA #CA5771 #AACA57 #57CAB1
square
#7757CA #CA5771 #AACA57 #57CAB1
split-complementary
#7757CA #CAB157 #71CA57
monochromatic
#40287F #5837AD #7757CA #9D86D9 #C2B4E7

Accessibility & contrast

On white

5.25
#7757CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7757CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7757CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7757CA#FFFFFF#000000##FFFFFF
##7757CA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#216AC7
Tritanopia (blue-blind)
#617088
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7757ca;
/* rgb */ color: rgb(119, 87, 202);
/* oklch */ color: oklch(54.8% 0.171 292.7);
Tailwind
colors: {
  custom: {
    50: '#a387db',
    500: '#7757ca',
    950: '#000000',
  },
}
SCSS
$custom: #7757ca;
$custom-light: #a387db;
$custom-dark: #000000;
JSON
{
  "hex": "#7757ca",
  "rgb": {
    "r": 119,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 256.696,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.17114,
    "h": 292.7
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#7757CA
secondary
#C9D6A7
accent
#DB4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7757CA

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

Preview Lab → · Contrast checker → · Palette generator →

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