#7657CB#7657CB

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

Color values

HEX#7657CB
RGBrgb(118, 87, 203)
HSLhsl(256, 53%, 57%)
HSVhsv(256, 57%, 80%)
CMYKcmyk(41.9%, 57.1%, 0%, 20.4%)
CIE-LABlab(45.61, 39.85, -56.13)
CIE-LCHlch(45.61, 68.84, 305.37°)
OKLaboklab(54.78% 0.0647 -0.1598)
OKLCHoklch(54.78% 0.172 292)
XYZxyz(21.6560, 14.9791, 58.2386)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657CB #ACCB57
analogous
#5772CB #7657CB #B057CB
triadic
#7657CB #CB7657 #57CB76
tetradic
#7657CB #CB5772 #ACCB57 #57CBB0
square
#7657CB #CB5772 #ACCB57 #57CBB0
split-complementary
#7657CB #CBB057 #72CB57
monochromatic
#3F2880 #5636AF #7657CB #9C86D9 #C2B4E8

Accessibility & contrast

On white

5.26
#7657CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7657CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657CB#FFFFFF#000000##FFFFFF
##7657CB1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#1D6AC8
Tritanopia (blue-blind)
#5F7089
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7657cb;
/* rgb */ color: rgb(118, 87, 203);
/* oklch */ color: oklch(54.8% 0.172 292.0);
Tailwind
colors: {
  custom: {
    50: '#a387db',
    500: '#7657cb',
    950: '#000000',
  },
}
SCSS
$custom: #7657cb;
$custom-light: #a387db;
$custom-dark: #000000;
JSON
{
  "hex": "#7657cb",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 256.034,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.17239,
    "h": 292
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#7657CB
secondary
#CAD7A7
accent
#DC4CB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7657CB

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

Preview Lab → · Contrast checker → · Palette generator →

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