#7658BE#7658BE

#7658BE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.1% C 0.154 H 294.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7658BE
RGBrgb(118, 88, 190)
HSLhsl(258, 44%, 55%)
HSVhsv(258, 54%, 75%)
CMYKcmyk(37.9%, 53.7%, 0%, 25.5%)
CIE-LABlab(45.01, 35.67, -49.57)
CIE-LCHlch(45.01, 61.07, 305.74°)
OKLaboklab(54.07% 0.0632 -0.1405)
OKLCHoklch(54.07% 0.154 294.2)
XYZxyz(20.2528, 14.5483, 50.4463)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658BE #A0BE58
analogous
#586DBE #7658BE #A958BE
triadic
#7658BE #BE7658 #58BE76
tetradic
#7658BE #BE586D #A0BE58 #58BEA9
square
#7658BE #BE586D #A0BE58 #58BEA9
split-complementary
#7658BE #BEA958 #6DBE58
monochromatic
#402C70 #593D9C #7658BE #9A84CF #BEB0E0

Accessibility & contrast

On white

5.37
#7658BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7658BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658BE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658BE#FFFFFF#000000##FFFFFF
##7658BE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC1
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#646D82
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7658be;
/* rgb */ color: rgb(118, 88, 190);
/* oklch */ color: oklch(54.1% 0.154 294.2);
Tailwind
colors: {
  custom: {
    50: '#a188d2',
    500: '#7658be',
    950: '#000000',
  },
}
SCSS
$custom: #7658be;
$custom-light: #a188d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7658be",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 257.647,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.15407,
    "h": 294.2
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

primary
#7658BE
secondary
#C2CEA3
accent
#D454AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7658BE

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

Preview Lab → · Contrast checker → · Palette generator →

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