#7658EA#7658EA

#7658EA is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.210 H 287.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7658EA
RGBrgb(118, 88, 234)
HSLhsl(252, 78%, 63%)
HSVhsv(252, 62%, 92%)
CMYKcmyk(49.6%, 62.4%, 0%, 8.2%)
CIE-LABlab(47.97, 48.04, -69.96)
CIE-LCHlch(47.97, 84.86, 304.48°)
OKLaboklab(57.18% 0.0622 -0.2004)
OKLCHoklch(57.18% 0.21 287.2)
XYZxyz(25.8079, 16.7703, 79.7031)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658EA #CCEA58
analogous
#5883EA #7658EA #BF58EA
triadic
#7658EA #EA7658 #58EA76
tetradic
#7658EA #EA5883 #CCEA58 #58EABF
square
#7658EA #EA5883 #CCEA58 #58EABF
split-complementary
#7658EA #EABF58 #83EA58
monochromatic
#3616B1 #4922E3 #7658EA #A38EF1 #CFC5F8

Accessibility & contrast

On white

4.82
#7658EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7658EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658EA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658EA#FFFFFF#000000##FFFFFF
##7658EA1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#4C7B99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7658ea;
/* rgb */ color: rgb(118, 88, 234);
/* oklch */ color: oklch(57.2% 0.210 287.2);
Tailwind
colors: {
  custom: {
    50: '#a689f2',
    500: '#7658ea',
    950: '#000000',
  },
}
SCSS
$custom: #7658ea;
$custom-light: #a689f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7658ea",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 252.329,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.20988,
    "h": 287.2
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#7658EA
secondary
#DEE9B5
accent
#DA0CB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7658EA

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

Preview Lab → · Contrast checker → · Palette generator →

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