#7657CD#7657CD

#7657CD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.175 H 291.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7657CD
RGBrgb(118, 87, 205)
HSLhsl(256, 54%, 57%)
HSVhsv(256, 58%, 80%)
CMYKcmyk(42.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(45.74, 40.40, -57.07)
CIE-LCHlch(45.74, 69.92, 305.30°)
OKLaboklab(54.91% 0.0647 -0.1625)
OKLCHoklch(54.91% 0.175 291.7)
XYZxyz(21.8958, 15.0751, 59.5019)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657CD #AECD57
analogous
#5773CD #7657CD #B157CD
triadic
#7657CD #CD7657 #57CD76
tetradic
#7657CD #CD5773 #AECD57 #57CDB1
square
#7657CD #CD5773 #AECD57 #57CDB1
split-complementary
#7657CD #CDB157 #73CD57
monochromatic
#3F2783 #5635B2 #7657CD #9C86DB #C3B5E9

Accessibility & contrast

On white

5.23
#7657CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7657CD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657CD#FFFFFF#000000##FFFFFF
##7657CD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096ED1
Deuteranopia (green-blind)
#186ACA
Tritanopia (blue-blind)
#5E718A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7657cd;
/* rgb */ color: rgb(118, 87, 205);
/* oklch */ color: oklch(54.9% 0.175 291.7);
Tailwind
colors: {
  custom: {
    50: '#a387dd',
    500: '#7657cd',
    950: '#000000',
  },
}
SCSS
$custom: #7657cd;
$custom-light: #a387dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7657cd",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 255.763,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54914,
    "c": 0.17495,
    "h": 291.7
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#7657CD
secondary
#CBD8A8
accent
#DD4AB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7657CD

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

Preview Lab → · Contrast checker → · Palette generator →

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