#7757CB#7757CB

#7757CB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.172 H 292.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7757CB
RGBrgb(119, 87, 203)
HSLhsl(257, 53%, 57%)
HSVhsv(257, 57%, 80%)
CMYKcmyk(41.4%, 57.1%, 0%, 20.4%)
CIE-LABlab(45.70, 40.07, -55.97)
CIE-LCHlch(45.70, 68.84, 305.60°)
OKLaboklab(54.87% 0.066 -0.1593)
OKLCHoklch(54.87% 0.172 292.5)
XYZxyz(21.7925, 15.0495, 58.2450)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7757CB #ABCB57
analogous
#5771CB #7757CB #B157CB
triadic
#7757CB #CB7757 #57CB77
tetradic
#7757CB #CB5771 #ABCB57 #57CBB1
square
#7757CB #CB5771 #ABCB57 #57CBB1
split-complementary
#7757CB #CBB157 #71CB57
monochromatic
#402880 #5736AF #7757CB #9D86D9 #C3B4E8

Accessibility & contrast

On white

5.24
#7757CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7757CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7757CB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7757CB#FFFFFF#000000##FFFFFF
##7757CB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#607089
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7757cb;
/* rgb */ color: rgb(119, 87, 203);
/* oklch */ color: oklch(54.9% 0.172 292.5);
Tailwind
colors: {
  custom: {
    50: '#a387db',
    500: '#7757cb',
    950: '#000000',
  },
}
SCSS
$custom: #7757cb;
$custom-light: #a387db;
$custom-dark: #000000;
JSON
{
  "hex": "#7757cb",
  "rgb": {
    "r": 119,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 256.552,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.17243,
    "h": 292.5
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#7757CB
secondary
#CAD7A7
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7757CB

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

Preview Lab → · Contrast checker → · Palette generator →

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