#7758EB#7758EB

#7758EB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.211 H 287.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7758EB
RGBrgb(119, 88, 235)
HSLhsl(253, 79%, 63%)
HSVhsv(253, 63%, 92%)
CMYKcmyk(49.4%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.13, 48.51, -70.25)
CIE-LCHlch(48.13, 85.37, 304.63°)
OKLaboklab(57.35% 0.0634 -0.2013)
OKLCHoklch(57.35% 0.211 287.5)
XYZxyz(26.0885, 16.8983, 80.4682)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758EB #CCEB58
analogous
#5882EB #7758EB #C058EB
triadic
#7758EB #EB7758 #58EB77
tetradic
#7758EB #EB5882 #CCEB58 #58EBC0
square
#7758EB #EB5882 #CCEB58 #58EBC0
split-complementary
#7758EB #EBC058 #82EB58
monochromatic
#3715B3 #4A21E4 #7758EB #A48FF2 #D0C5F8

Accessibility & contrast

On white

4.79
#7758EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7758EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758EB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758EB#FFFFFF#000000##FFFFFF
##7758EB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#4E7B99
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7758eb;
/* rgb */ color: rgb(119, 88, 235);
/* oklch */ color: oklch(57.3% 0.211 287.5);
Tailwind
colors: {
  custom: {
    50: '#a789f2',
    500: '#7758eb',
    950: '#000000',
  },
}
SCSS
$custom: #7758eb;
$custom-light: #a789f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7758eb",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 252.653,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.21104,
    "h": 287.5
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#7758EB
secondary
#DFEAB5
accent
#DB0BAF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7758EB

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

Preview Lab → · Contrast checker → · Palette generator →

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