#7658EB#7658EB

#7658EB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.3% C 0.211 H 287.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7658EB
RGBrgb(118, 88, 235)
HSLhsl(252, 79%, 63%)
HSVhsv(252, 63%, 92%)
CMYKcmyk(49.8%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.04, 48.33, -70.40)
CIE-LCHlch(48.04, 85.39, 304.47°)
OKLaboklab(57.26% 0.0621 -0.2018)
OKLCHoklch(57.26% 0.211 287.1)
XYZxyz(25.9519, 16.8279, 80.4618)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658EB #CDEB58
analogous
#5883EB #7658EB #BF58EB
triadic
#7658EB #EB7658 #58EB76
tetradic
#7658EB #EB5883 #CDEB58 #58EBBF
square
#7658EB #EB5883 #CDEB58 #58EBBF
split-complementary
#7658EB #EBBF58 #83EB58
monochromatic
#3615B3 #4921E4 #7658EB #A38FF2 #D0C5F8

Accessibility & contrast

On white

4.81
#7658EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7658EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658EB#FFFFFF#000000##FFFFFF
##7658EB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#4C7B99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7658eb;
/* rgb */ color: rgb(118, 88, 235);
/* oklch */ color: oklch(57.3% 0.211 287.1);
Tailwind
colors: {
  custom: {
    50: '#a689f2',
    500: '#7658eb',
    950: '#000000',
  },
}
SCSS
$custom: #7658eb;
$custom-light: #a689f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7658eb",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 252.245,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.2111,
    "h": 287.1
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#7658EB
secondary
#DFEAB5
accent
#DB0BB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7658EB

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

Preview Lab → · Contrast checker → · Palette generator →

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