#7658BF#7658BF

#7658BF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.1% C 0.155 H 294.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7658BF
RGBrgb(118, 88, 191)
HSLhsl(257, 45%, 55%)
HSVhsv(257, 54%, 75%)
CMYKcmyk(38.2%, 53.9%, 0%, 25.1%)
CIE-LABlab(45.07, 35.95, -50.05)
CIE-LCHlch(45.07, 61.62, 305.68°)
OKLaboklab(54.14% 0.0633 -0.1419)
OKLCHoklch(54.14% 0.155 294)
XYZxyz(20.3624, 14.5921, 51.0238)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7658BF #A1BF58
analogous
#586DBF #7658BF #AA58BF
triadic
#7658BF #BF7658 #58BF76
tetradic
#7658BF #BF586D #A1BF58 #58BFAA
square
#7658BF #BF586D #A1BF58 #58BFAA
split-complementary
#7658BF #BFAA58 #6DBF58
monochromatic
#402B71 #593C9D #7658BF #9A84D0 #BFB0E1

Accessibility & contrast

On white

5.36
#7658BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7658BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7658BF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7658BF#FFFFFF#000000##FFFFFF
##7658BF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#3269BD
Tritanopia (blue-blind)
#646D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7658bf;
/* rgb */ color: rgb(118, 88, 191);
/* oklch */ color: oklch(54.1% 0.155 294.0);
Tailwind
colors: {
  custom: {
    50: '#a188d3',
    500: '#7658bf',
    950: '#000000',
  },
}
SCSS
$custom: #7658bf;
$custom-light: #a188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7658bf",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 257.476,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.15539,
    "h": 294
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#7658BF
secondary
#C2CFA4
accent
#D454AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7658BF

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

Preview Lab → · Contrast checker → · Palette generator →

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