#7758EC#7758EC

#7758EC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.212 H 287.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7758EC
RGBrgb(119, 88, 236)
HSLhsl(253, 80%, 64%)
HSVhsv(253, 63%, 93%)
CMYKcmyk(49.6%, 62.7%, 0%, 7.5%)
CIE-LABlab(48.20, 48.80, -70.69)
CIE-LCHlch(48.20, 85.90, 304.62°)
OKLaboklab(57.42% 0.0634 -0.2026)
OKLCHoklch(57.42% 0.212 287.4)
XYZxyz(26.2334, 16.9563, 81.2312)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758EC #CDEC58
analogous
#5883EC #7758EC #C158EC
triadic
#7758EC #EC7758 #58EC77
tetradic
#7758EC #EC5883 #CDEC58 #58ECC1
square
#7758EC #EC5883 #CDEC58 #58ECC1
split-complementary
#7758EC #ECC158 #83EC58
monochromatic
#3615B5 #4A21E6 #7758EC #A48FF2 #D0C6F9

Accessibility & contrast

On white

4.78
#7758EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7758EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758EC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758EC#FFFFFF#000000##FFFFFF
##7758EC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#4D7C9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7758ec;
/* rgb */ color: rgb(119, 88, 236);
/* oklch */ color: oklch(57.4% 0.212 287.4);
Tailwind
colors: {
  custom: {
    50: '#a789f3',
    500: '#7758ec',
    950: '#000000',
  },
}
SCSS
$custom: #7758ec;
$custom-light: #a789f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7758ec",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 252.568,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.21226,
    "h": 287.4
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#7758EC
secondary
#DFEAB6
accent
#DC0AB0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7758EC

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

Preview Lab → · Contrast checker → · Palette generator →

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