#7657BF#7657BF

#7657BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.157 H 294.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7657BF
RGBrgb(118, 87, 191)
HSLhsl(258, 45%, 55%)
HSVhsv(258, 54%, 75%)
CMYKcmyk(38.2%, 54.5%, 0%, 25.1%)
CIE-LABlab(44.84, 36.53, -50.42)
CIE-LCHlch(44.84, 62.26, 305.92°)
OKLaboklab(53.97% 0.0645 -0.143)
OKLCHoklch(53.97% 0.157 294.3)
XYZxyz(20.2809, 14.4291, 50.9967)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657BF #A0BF57
analogous
#576CBF #7657BF #AA57BF
triadic
#7657BF #BF7657 #57BF76
tetradic
#7657BF #BF576C #A0BF57 #57BFAA
square
#7657BF #BF576C #A0BF57 #57BFAA
split-complementary
#7657BF #BFAA57 #6CBF57
monochromatic
#402B71 #593C9D #7657BF #9A83D0 #BEB0E1

Accessibility & contrast

On white

5.40
#7657BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7657BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657BF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657BF#FFFFFF#000000##FFFFFF
##7657BF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#3068BD
Tritanopia (blue-blind)
#646C82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7657bf;
/* rgb */ color: rgb(118, 87, 191);
/* oklch */ color: oklch(54.0% 0.157 294.3);
Tailwind
colors: {
  custom: {
    50: '#a287d3',
    500: '#7657bf',
    950: '#000000',
  },
}
SCSS
$custom: #7657bf;
$custom-light: #a287d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7657bf",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 257.885,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.15688,
    "h": 294.3
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#7657BF
secondary
#C2CFA3
accent
#D553AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7657BF

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

Preview Lab → · Contrast checker → · Palette generator →

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