#7658EC#7658EC

#7658EC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.212 H 287.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7658EC
RGBrgb(118, 88, 236)
HSLhsl(252, 80%, 64%)
HSVhsv(252, 63%, 93%)
CMYKcmyk(50%, 62.7%, 0%, 7.5%)
CIE-LABlab(48.12, 48.62, -70.84)
CIE-LCHlch(48.12, 85.92, 304.46°)
OKLaboklab(57.34% 0.0621 -0.203)
OKLCHoklch(57.34% 0.212 287)
XYZxyz(26.0968, 16.8859, 81.2248)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658EC #CEEC58
analogous
#5884EC #7658EC #C058EC
triadic
#7658EC #EC7658 #58EC76
tetradic
#7658EC #EC5884 #CEEC58 #58ECC0
square
#7658EC #EC5884 #CEEC58 #58ECC0
split-complementary
#7658EC #ECC058 #84EC58
monochromatic
#3515B5 #4921E6 #7658EC #A38FF2 #D0C6F9

Accessibility & contrast

On white

4.80
#7658EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7658EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658EC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658EC#FFFFFF#000000##FFFFFF
##7658EC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7658ec;
/* rgb */ color: rgb(118, 88, 236);
/* oklch */ color: oklch(57.3% 0.212 287.0);
Tailwind
colors: {
  custom: {
    50: '#a689f3',
    500: '#7658ec',
    950: '#000000',
  },
}
SCSS
$custom: #7658ec;
$custom-light: #a689f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7658ec",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 252.162,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.21232,
    "h": 287
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#7658EC
secondary
#DFEAB6
accent
#DC0AB1
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7658EC

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

Preview Lab → · Contrast checker → · Palette generator →

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