#7658E5#7658E5

#7658E5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 56.8% C 0.204 H 287.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7658E5
RGBrgb(118, 88, 229)
HSLhsl(253, 73%, 62%)
HSVhsv(253, 62%, 90%)
CMYKcmyk(48.5%, 61.6%, 0%, 10.2%)
CIE-LABlab(47.61, 46.62, -67.72)
CIE-LCHlch(47.61, 82.22, 304.54°)
OKLaboklab(56.81% 0.0626 -0.1939)
OKLCHoklch(56.81% 0.204 287.9)
XYZxyz(25.0997, 16.4870, 75.9733)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658E5 #C7E558
analogous
#5881E5 #7658E5 #BD58E5
triadic
#7658E5 #E57658 #58E576
tetradic
#7658E5 #E55881 #C7E558 #58E5BD
square
#7658E5 #E55881 #C7E558 #58E5BD
split-complementary
#7658E5 #E5BD58 #81E558
monochromatic
#381AA8 #4B23DD #7658E5 #A18DED #CDC2F5

Accessibility & contrast

On white

4.89
#7658E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7658E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658E5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658E5#FFFFFF#000000##FFFFFF
##7658E51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#507996
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7658e5;
/* rgb */ color: rgb(118, 88, 229);
/* oklch */ color: oklch(56.8% 0.204 287.9);
Tailwind
colors: {
  custom: {
    50: '#a688ee',
    500: '#7658e5',
    950: '#000000',
  },
}
SCSS
$custom: #7658e5;
$custom-light: #a688ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7658e5",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 252.766,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56807,
    "c": 0.20374,
    "h": 287.9
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#7658E5
secondary
#DBE6B3
accent
#D510AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7658E5

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

Preview Lab → · Contrast checker → · Palette generator →

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