#7657CC#7657CC

#7657CC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.174 H 291.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7657CC
RGBrgb(118, 87, 204)
HSLhsl(256, 53%, 57%)
HSVhsv(256, 57%, 80%)
CMYKcmyk(42.2%, 57.4%, 0%, 20%)
CIE-LABlab(45.67, 40.12, -56.60)
CIE-LCHlch(45.67, 69.38, 305.33°)
OKLaboklab(54.85% 0.0647 -0.1612)
OKLCHoklch(54.85% 0.174 291.9)
XYZxyz(21.7755, 15.0269, 58.8682)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657CC #ADCC57
analogous
#5773CC #7657CC #B057CC
triadic
#7657CC #CC7657 #57CC76
tetradic
#7657CC #CC5773 #ADCC57 #57CCB0
square
#7657CC #CC5773 #ADCC57 #57CCB0
split-complementary
#7657CC #CCB057 #73CC57
monochromatic
#3F2781 #5636B0 #7657CC #9C86DA #C3B5E9

Accessibility & contrast

On white

5.24
#7657CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7657CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657CC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657CC#FFFFFF#000000##FFFFFF
##7657CC1.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)
#0D6ED0
Deuteranopia (green-blind)
#1B6AC9
Tritanopia (blue-blind)
#5E7189
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7657cc;
/* rgb */ color: rgb(118, 87, 204);
/* oklch */ color: oklch(54.8% 0.174 291.9);
Tailwind
colors: {
  custom: {
    50: '#a387dc',
    500: '#7657cc',
    950: '#000000',
  },
}
SCSS
$custom: #7657cc;
$custom-light: #a387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7657cc",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 255.897,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.17367,
    "h": 291.9
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#7657CC
secondary
#CBD7A8
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7657CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7657CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva