#7658EF#7658EF

#7658EF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.216 H 286.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7658EF
RGBrgb(118, 88, 239)
HSLhsl(252, 83%, 64%)
HSVhsv(252, 63%, 94%)
CMYKcmyk(50.6%, 63.2%, 0%, 6.3%)
CIE-LABlab(48.34, 49.47, -72.17)
CIE-LCHlch(48.34, 87.50, 304.43°)
OKLaboklab(57.57% 0.0618 -0.2069)
OKLCHoklch(57.57% 0.216 286.6)
XYZxyz(26.5363, 17.0617, 83.5396)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658EF #D1EF58
analogous
#5885EF #7658EF #C258EF
triadic
#7658EF #EF7658 #58EF76
tetradic
#7658EF #EF5885 #D1EF58 #58EFC2
square
#7658EF #EF5885 #D1EF58 #58EFC2
split-complementary
#7658EF #EFC258 #85EF58
monochromatic
#3312BB #4820EA #7658EF #A490F4 #D2C8FA

Accessibility & contrast

On white

4.76
#7658EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7658EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658EF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658EF#FFFFFF#000000##FFFFFF
##7658EF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#487D9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7658ef;
/* rgb */ color: rgb(118, 88, 239);
/* oklch */ color: oklch(57.6% 0.216 286.6);
Tailwind
colors: {
  custom: {
    50: '#a789f5',
    500: '#7658ef',
    950: '#000000',
  },
}
SCSS
$custom: #7658ef;
$custom-light: #a789f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7658ef",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 251.921,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.21597,
    "h": 286.6
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#7658EF
secondary
#E1ECB7
accent
#DF07B4
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7658EF

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

Preview Lab → · Contrast checker → · Palette generator →

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