#7657CE#7657CE

#7657CE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.0% C 0.176 H 291.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7657CE
RGBrgb(118, 87, 206)
HSLhsl(256, 55%, 57%)
HSVhsv(256, 58%, 81%)
CMYKcmyk(42.7%, 57.8%, 0%, 19.2%)
CIE-LABlab(45.80, 40.68, -57.54)
CIE-LCHlch(45.80, 70.47, 305.26°)
OKLaboklab(54.98% 0.0647 -0.1639)
OKLCHoklch(54.98% 0.176 291.5)
XYZxyz(22.0169, 15.1235, 60.1396)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657CE #AFCE57
analogous
#5774CE #7657CE #B157CE
triadic
#7657CE #CE7657 #57CE76
tetradic
#7657CE #CE5774 #AFCE57 #57CEB1
square
#7657CE #CE5774 #AFCE57 #57CEB1
split-complementary
#7657CE #CEB157 #74CE57
monochromatic
#3F2784 #5534B3 #7657CE #9D86DC #C3B6EA

Accessibility & contrast

On white

5.22
#7657CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7657CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657CE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657CE#FFFFFF#000000##FFFFFF
##7657CE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#166ACB
Tritanopia (blue-blind)
#5D718A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7657ce;
/* rgb */ color: rgb(118, 87, 206);
/* oklch */ color: oklch(55.0% 0.176 291.5);
Tailwind
colors: {
  custom: {
    50: '#a387de',
    500: '#7657ce',
    950: '#000000',
  },
}
SCSS
$custom: #7657ce;
$custom-light: #a387de;
$custom-dark: #000000;
JSON
{
  "hex": "#7657ce",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 255.63,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54984,
    "c": 0.17623,
    "h": 291.5
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#7657CE
secondary
#CCD8A8
accent
#DE4AB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7657CE

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

Preview Lab → · Contrast checker → · Palette generator →

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