#7658BD#7658BD

#7658BD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.0% C 0.153 H 294.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7658BD
RGBrgb(118, 88, 189)
HSLhsl(258, 43%, 54%)
HSVhsv(258, 53%, 74%)
CMYKcmyk(37.6%, 53.4%, 0%, 25.9%)
CIE-LABlab(44.95, 35.40, -49.09)
CIE-LCHlch(44.95, 60.52, 305.80°)
OKLaboklab(54.01% 0.0632 -0.1391)
OKLCHoklch(54.01% 0.153 294.4)
XYZxyz(20.1439, 14.5047, 49.8726)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658BD #9FBD58
analogous
#586DBD #7658BD #A958BD
triadic
#7658BD #BD7658 #58BD76
tetradic
#7658BD #BD586D #9FBD58 #58BDA9
square
#7658BD #BD586D #9FBD58 #58BDA9
split-complementary
#7658BD #BDA958 #6DBD58
monochromatic
#402C6F #593D9B #7658BD #9A84CE #BEB0E0

Accessibility & contrast

On white

5.38
#7658BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7658BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658BD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658BD#FFFFFF#000000##FFFFFF
##7658BD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC0
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#656D82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7658bd;
/* rgb */ color: rgb(118, 88, 189);
/* oklch */ color: oklch(54.0% 0.153 294.4);
Tailwind
colors: {
  custom: {
    50: '#a188d1',
    500: '#7658bd',
    950: '#000000',
  },
}
SCSS
$custom: #7658bd;
$custom-light: #a188d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7658bd",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 257.822,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.15275,
    "h": 294.4
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#7658BD
secondary
#C1CEA3
accent
#D355AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7658BD

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

Preview Lab → · Contrast checker → · Palette generator →

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