#7658D7#7658D7

#7658D7 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.186 H 289.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7658D7
RGBrgb(118, 88, 215)
HSLhsl(254, 61%, 59%)
HSVhsv(254, 59%, 84%)
CMYKcmyk(45.1%, 59.1%, 0%, 15.7%)
CIE-LABlab(46.63, 42.64, -61.36)
CIE-LCHlch(46.63, 74.72, 304.79°)
OKLaboklab(55.78% 0.0633 -0.1752)
OKLCHoklch(55.78% 0.186 289.9)
XYZxyz(23.2232, 15.7365, 66.0906)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658D7 #B9D758
analogous
#587AD7 #7658D7 #B658D7
triadic
#7658D7 #D77658 #58D776
tetradic
#7658D7 #D7587A #B9D758 #58D7B6
square
#7658D7 #D7587A #B9D758 #58D7B6
split-complementary
#7658D7 #D7B658 #7AD758
monochromatic
#3D2392 #522FC3 #7658D7 #9F89E3 #C7BBEF

Accessibility & contrast

On white

5.06
#7658D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7658D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658D7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658D7#FFFFFF#000000##FFFFFF
##7658D71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#006CD4
Tritanopia (blue-blind)
#58758F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7658d7;
/* rgb */ color: rgb(118, 88, 215);
/* oklch */ color: oklch(55.8% 0.186 289.9);
Tailwind
colors: {
  custom: {
    50: '#a488e4',
    500: '#7658d7',
    950: '#000000',
  },
}
SCSS
$custom: #7658d7;
$custom-light: #a488e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7658d7",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 254.173,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.18627,
    "h": 289.9
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#7658D7
secondary
#D2DEAD
accent
#E443BE
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7658D7

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

Preview Lab → · Contrast checker → · Palette generator →

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