#7657DB#7657DB

#7657DB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.193 H 289.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7657DB
RGBrgb(118, 87, 219)
HSLhsl(254, 65%, 60%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(46.1%, 60.3%, 0%, 14.1%)
CIE-LABlab(46.69, 44.34, -63.54)
CIE-LCHlch(46.69, 77.48, 304.91°)
OKLaboklab(55.91% 0.0643 -0.1816)
OKLCHoklch(55.91% 0.193 289.5)
XYZxyz(23.6620, 15.7815, 68.8035)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7657DB #BCDB57
analogous
#577ADB #7657DB #B857DB
triadic
#7657DB #DB7657 #57DB76
tetradic
#7657DB #DB577A #BCDB57 #57DBB8
square
#7657DB #DB577A #BCDB57 #57DBB8
split-complementary
#7657DB #DBB857 #7ADB57
monochromatic
#3C2097 #502BCA #7657DB #9F89E6 #C8BCF1

Accessibility & contrast

On white

5.05
#7657DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7657DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7657DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7657DB#FFFFFF#000000##FFFFFF
##7657DB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#567591
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7657db;
/* rgb */ color: rgb(118, 87, 219);
/* oklch */ color: oklch(55.9% 0.193 289.5);
Tailwind
colors: {
  custom: {
    50: '#a488e7',
    500: '#7657db',
    950: '#000000',
  },
}
SCSS
$custom: #7657db;
$custom-light: #a488e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7657db",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 254.091,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.19263,
    "h": 289.5
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#7657DB
secondary
#D4E0AD
accent
#E840C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7657DB

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

Preview Lab → · Contrast checker → · Palette generator →

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