#7658BB#7658BB

#7658BB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.9% C 0.150 H 294.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7658BB
RGBrgb(118, 88, 187)
HSLhsl(258, 42%, 54%)
HSVhsv(258, 53%, 73%)
CMYKcmyk(36.9%, 52.9%, 0%, 26.7%)
CIE-LABlab(44.83, 34.85, -48.12)
CIE-LCHlch(44.83, 59.41, 305.92°)
OKLaboklab(53.88% 0.063 -0.1362)
OKLCHoklch(53.88% 0.15 294.8)
XYZxyz(19.9283, 14.4185, 48.7372)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658BB #9DBB58
analogous
#586CBB #7658BB #A858BB
triadic
#7658BB #BB7658 #58BB76
tetradic
#7658BB #BB586C #9DBB58 #58BBA8
square
#7658BB #BB586C #9DBB58 #58BBA8
split-complementary
#7658BB #BBA858 #6CBB58
monochromatic
#402C6C #593E98 #7658BB #9A83CD #BDAFDE

Accessibility & contrast

On white

5.41
#7658BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7658BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658BB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658BB#FFFFFF#000000##FFFFFF
##7658BB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#656C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7658bb;
/* rgb */ color: rgb(118, 88, 187);
/* oklch */ color: oklch(53.9% 0.150 294.8);
Tailwind
colors: {
  custom: {
    50: '#a188d0',
    500: '#7658bb',
    950: '#000000',
  },
}
SCSS
$custom: #7658bb;
$custom-light: #a188d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7658bb",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 258.182,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.15013,
    "h": 294.8
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#7658BB
secondary
#C0CDA2
accent
#D256AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7658BB

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

Preview Lab → · Contrast checker → · Palette generator →

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