#7657DC#7657DC

#7657DC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.194 H 289.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7657DC
RGBrgb(118, 87, 220)
HSLhsl(254, 66%, 60%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(46.4%, 60.5%, 0%, 13.7%)
CIE-LABlab(46.76, 44.62, -64.00)
CIE-LCHlch(46.76, 78.02, 304.88°)
OKLaboklab(55.99% 0.0642 -0.1829)
OKLCHoklch(55.99% 0.194 289.3)
XYZxyz(23.7940, 15.8343, 69.4989)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657DC #BDDC57
analogous
#577ADC #7657DC #B857DC
triadic
#7657DC #DC7657 #57DC76
tetradic
#7657DC #DC577A #BDDC57 #57DCB8
square
#7657DC #DC577A #BDDC57 #57DCB8
split-complementary
#7657DC #DCB857 #7ADC57
monochromatic
#3C2099 #502ACB #7657DC #9F8AE7 #C9BCF1

Accessibility & contrast

On white

5.04
#7657DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7657DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657DC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657DC#FFFFFF#000000##FFFFFF
##7657DC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#567691
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7657dc;
/* rgb */ color: rgb(118, 87, 220);
/* oklch */ color: oklch(56.0% 0.194 289.3);
Tailwind
colors: {
  custom: {
    50: '#a588e8',
    500: '#7657dc',
    950: '#000000',
  },
}
SCSS
$custom: #7657dc;
$custom-light: #a588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7657dc",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 253.985,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.19387,
    "h": 289.3
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#7657DC
secondary
#D5E1AE
accent
#CD18A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7657DC

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

Preview Lab → · Contrast checker → · Palette generator →

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