#7758BF#7758BF

#7758BF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.2% C 0.155 H 294.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7758BF
RGBrgb(119, 88, 191)
HSLhsl(258, 45%, 55%)
HSVhsv(258, 54%, 75%)
CMYKcmyk(37.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(45.17, 36.19, -49.89)
CIE-LCHlch(45.17, 61.63, 305.96°)
OKLaboklab(54.23% 0.0645 -0.1414)
OKLCHoklch(54.23% 0.155 294.5)
XYZxyz(20.4990, 14.6625, 51.0302)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758BF #A0BF58
analogous
#586DBF #7758BF #AA58BF
triadic
#7758BF #BF7758 #58BF77
tetradic
#7758BF #BF586D #A0BF58 #58BFAA
square
#7758BF #BF586D #A0BF58 #58BFAA
split-complementary
#7758BF #BFAA58 #6DBF58
monochromatic
#402B71 #5A3C9D #7758BF #9B84D0 #BFB0E1

Accessibility & contrast

On white

5.34
#7758BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7758BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758BF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758BF#FFFFFF#000000##FFFFFF
##7758BF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#3369BD
Tritanopia (blue-blind)
#656D83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7758bf;
/* rgb */ color: rgb(119, 88, 191);
/* oklch */ color: oklch(54.2% 0.155 294.5);
Tailwind
colors: {
  custom: {
    50: '#a288d3',
    500: '#7758bf',
    950: '#000000',
  },
}
SCSS
$custom: #7758bf;
$custom-light: #a288d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7758bf",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 258.058,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54233,
    "c": 0.15545,
    "h": 294.5
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7758BF

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

Preview Lab → · Contrast checker → · Palette generator →

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