#7658CC#7658CC

#7658CC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.0% C 0.172 H 291.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7658CC
RGBrgb(118, 88, 204)
HSLhsl(256, 53%, 57%)
HSVhsv(256, 57%, 80%)
CMYKcmyk(42.2%, 56.9%, 0%, 20%)
CIE-LABlab(45.89, 39.55, -56.24)
CIE-LCHlch(45.89, 68.76, 305.11°)
OKLaboklab(55.01% 0.0635 -0.1601)
OKLCHoklch(55.01% 0.172 291.6)
XYZxyz(21.8570, 15.1900, 58.8954)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658CC #AECC58
analogous
#5874CC #7658CC #B058CC
triadic
#7658CC #CC7658 #58CC76
tetradic
#7658CC #CC5874 #AECC58 #58CCB0
square
#7658CC #CC5874 #AECC58 #58CCB0
split-complementary
#7658CC #CCB058 #74CC58
monochromatic
#3F2882 #5636B1 #7658CC #9C87DA #C3B6E9

Accessibility & contrast

On white

5.20
#7658CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7658CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658CC#FFFFFF#000000##FFFFFF
##7658CC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136ED0
Deuteranopia (green-blind)
#1E6AC9
Tritanopia (blue-blind)
#5E7189
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7658cc;
/* rgb */ color: rgb(118, 88, 204);
/* oklch */ color: oklch(55.0% 0.172 291.6);
Tailwind
colors: {
  custom: {
    50: '#a388dc',
    500: '#7658cc',
    950: '#000000',
  },
}
SCSS
$custom: #7658cc;
$custom-light: #a388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7658cc",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 255.517,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.17226,
    "h": 291.6
  },
  "luminance": 0.15191
}

Semantic roles & 50–950 ramp

primary
#7658CC
secondary
#CBD7A8
accent
#DD4BB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7658CC

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

Preview Lab → · Contrast checker → · Palette generator →

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