#7658D2#7658D2

#7658D2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.180 H 290.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7658D2
RGBrgb(118, 88, 210)
HSLhsl(255, 58%, 58%)
HSVhsv(255, 58%, 82%)
CMYKcmyk(43.8%, 58.1%, 0%, 17.6%)
CIE-LABlab(46.29, 41.23, -59.05)
CIE-LCHlch(46.29, 72.02, 304.92°)
OKLaboklab(55.43% 0.0635 -0.1684)
OKLCHoklch(55.43% 0.18 290.7)
XYZxyz(22.5906, 15.4834, 62.7586)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658D2 #B4D258
analogous
#5877D2 #7658D2 #B358D2
triadic
#7658D2 #D27658 #58D276
tetradic
#7658D2 #D25877 #B4D258 #58D2B3
square
#7658D2 #D25877 #B4D258 #58D2B3
split-complementary
#7658D2 #D2B358 #77D258
monochromatic
#3E258A #5432BB #7658D2 #9E88DF #C5B8EC

Accessibility & contrast

On white

5.13
#7658D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7658D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658D2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658D2#FFFFFF#000000##FFFFFF
##7658D21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#5B738C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7658d2;
/* rgb */ color: rgb(118, 88, 210);
/* oklch */ color: oklch(55.4% 0.180 290.7);
Tailwind
colors: {
  custom: {
    50: '#a388e1',
    500: '#7658d2',
    950: '#000000',
  },
}
SCSS
$custom: #7658d2;
$custom-light: #a388e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7658d2",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 254.754,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.17994,
    "h": 290.7
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#7658D2
secondary
#CFDBAB
accent
#E147BB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7658D2

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

Preview Lab → · Contrast checker → · Palette generator →

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