#7657EC#7657EC

#7657EC is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.2% C 0.214 H 287.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7657EC
RGBrgb(118, 87, 236)
HSLhsl(252, 80%, 63%)
HSVhsv(252, 63%, 93%)
CMYKcmyk(50%, 63.1%, 0%, 7.5%)
CIE-LABlab(47.91, 49.17, -71.18)
CIE-LCHlch(47.91, 86.51, 304.64°)
OKLaboklab(57.19% 0.063 -0.204)
OKLCHoklch(57.19% 0.214 287.2)
XYZxyz(26.0153, 16.7228, 81.1977)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657EC #CDEC57
analogous
#5782EC #7657EC #C057EC
triadic
#7657EC #EC7657 #57EC76
tetradic
#7657EC #EC5782 #CDEC57 #57ECC0
square
#7657EC #EC5782 #CDEC57 #57ECC0
split-complementary
#7657EC #ECC057 #82EC57
monochromatic
#3614B4 #4920E6 #7657EC #A38EF2 #D0C5F8

Accessibility & contrast

On white

4.83
#7657EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7657EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657EC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657EC#FFFFFF#000000##FFFFFF
##7657EC1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#4B7B9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7657ec;
/* rgb */ color: rgb(118, 87, 236);
/* oklch */ color: oklch(57.2% 0.214 287.2);
Tailwind
colors: {
  custom: {
    50: '#a788f3',
    500: '#7657ec',
    950: '#000000',
  },
}
SCSS
$custom: #7657ec;
$custom-light: #a788f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7657ec",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 252.483,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.21355,
    "h": 287.2
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#7657EC
secondary
#DFEAB5
accent
#DC0AB0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7657EC

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

Preview Lab → · Contrast checker → · Palette generator →

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