#7657CF#7657CF

#7657CF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.177 H 291.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7657CF
RGBrgb(118, 87, 207)
HSLhsl(256, 56%, 58%)
HSVhsv(256, 58%, 81%)
CMYKcmyk(43%, 58%, 0%, 18.8%)
CIE-LABlab(45.87, 40.96, -58.01)
CIE-LCHlch(45.87, 71.01, 305.23°)
OKLaboklab(55.05% 0.0647 -0.1653)
OKLCHoklch(55.05% 0.178 291.4)
XYZxyz(22.1388, 15.1722, 60.7815)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657CF #B0CF57
analogous
#5774CF #7657CF #B257CF
triadic
#7657CF #CF7657 #57CF76
tetradic
#7657CF #CF5774 #B0CF57 #57CFB2
square
#7657CF #CF5774 #B0CF57 #57CFB2
split-complementary
#7657CF #CFB257 #74CF57
monochromatic
#3F2685 #5534B5 #7657CF #9D87DD #C4B6EA

Accessibility & contrast

On white

5.20
#7657CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7657CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657CF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657CF#FFFFFF#000000##FFFFFF
##7657CF1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD3
Deuteranopia (green-blind)
#136ACC
Tritanopia (blue-blind)
#5D718B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7657cf;
/* rgb */ color: rgb(118, 87, 207);
/* oklch */ color: oklch(55.1% 0.177 291.4);
Tailwind
colors: {
  custom: {
    50: '#a387de',
    500: '#7657cf',
    950: '#000000',
  },
}
SCSS
$custom: #7657cf;
$custom-light: #a387de;
$custom-dark: #000000;
JSON
{
  "hex": "#7657cf",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 255.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.1775,
    "h": 291.4
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#7657CF
secondary
#CDD9A9
accent
#DF49B8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7657CF

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

Preview Lab → · Contrast checker → · Palette generator →

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