#7758DC#7758DC

#7758DC is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.193 H 289.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7758DC
RGBrgb(119, 88, 220)
HSLhsl(254, 65%, 60%)
HSVhsv(254, 60%, 86%)
CMYKcmyk(45.9%, 60%, 0%, 13.7%)
CIE-LABlab(47.06, 44.26, -63.50)
CIE-LCHlch(47.06, 77.40, 304.88°)
OKLaboklab(56.23% 0.0644 -0.1814)
OKLCHoklch(56.23% 0.193 289.6)
XYZxyz(24.0121, 16.0678, 69.5325)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758DC #BDDC58
analogous
#587BDC #7758DC #B958DC
triadic
#7758DC #DC7758 #58DC77
tetradic
#7758DC #DC587B #BDDC58 #58DCB9
square
#7758DC #DC587B #BDDC58 #58DCB9
split-complementary
#7758DC #DCB958 #7BDC58
monochromatic
#3D2099 #512BCC #7758DC #A08BE7 #C9BDF1

Accessibility & contrast

On white

4.98
#7758DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7758DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758DC#FFFFFF#000000##FFFFFF
##7758DC1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#577692
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7758dc;
/* rgb */ color: rgb(119, 88, 220);
/* oklch */ color: oklch(56.2% 0.193 289.6);
Tailwind
colors: {
  custom: {
    50: '#a588e8',
    500: '#7758dc',
    950: '#000000',
  },
}
SCSS
$custom: #7758dc;
$custom-light: #a588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7758dc",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 254.091,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.19253,
    "h": 289.6
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#7758DC
secondary
#D5E1AF
accent
#CD18A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7758DC

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

Preview Lab → · Contrast checker → · Palette generator →

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