#7758EF#7758EF

#7758EF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.216 H 287.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7758EF
RGBrgb(119, 88, 239)
HSLhsl(252, 83%, 64%)
HSVhsv(252, 63%, 94%)
CMYKcmyk(50.2%, 63.2%, 0%, 6.3%)
CIE-LABlab(48.43, 49.65, -72.02)
CIE-LCHlch(48.43, 87.48, 304.58°)
OKLaboklab(57.65% 0.0631 -0.2065)
OKLCHoklch(57.65% 0.216 287)
XYZxyz(26.6729, 17.1321, 83.5460)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758EF #D0EF58
analogous
#5885EF #7758EF #C358EF
triadic
#7758EF #EF7758 #58EF77
tetradic
#7758EF #EF5885 #D0EF58 #58EFC3
square
#7758EF #EF5885 #D0EF58 #58EFC3
split-complementary
#7758EF #EFC358 #85EF58
monochromatic
#3512BB #4A20EA #7758EF #A490F4 #D2C8FA

Accessibility & contrast

On white

4.74
#7758EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7758EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758EF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758EF#FFFFFF#000000##FFFFFF
##7758EF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#4B7D9C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7758ef;
/* rgb */ color: rgb(119, 88, 239);
/* oklch */ color: oklch(57.7% 0.216 287.0);
Tailwind
colors: {
  custom: {
    50: '#a789f5',
    500: '#7758ef',
    950: '#000000',
  },
}
SCSS
$custom: #7758ef;
$custom-light: #a789f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7758ef",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 252.318,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57654,
    "c": 0.2159,
    "h": 287
  },
  "luminance": 0.17133
}

Semantic roles & 50–950 ramp

primary
#7758EF
secondary
#E1ECB7
accent
#DF07B3
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7758EF

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

Preview Lab → · Contrast checker → · Palette generator →

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