#7758F2#7758F2

#7758F2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.220 H 286.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7758F2
RGBrgb(119, 88, 242)
HSLhsl(252, 86%, 65%)
HSVhsv(252, 64%, 95%)
CMYKcmyk(50.8%, 63.6%, 0%, 5.1%)
CIE-LABlab(48.65, 50.51, -73.34)
CIE-LCHlch(48.65, 89.05, 304.56°)
OKLaboklab(57.89% 0.0628 -0.2104)
OKLCHoklch(57.89% 0.22 286.6)
XYZxyz(27.1197, 17.3108, 85.8995)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758F2 #D3F258
analogous
#5886F2 #7758F2 #C458F2
triadic
#7758F2 #F27758 #58F277
tetradic
#7758F2 #F25886 #D3F258 #58F2C4
square
#7758F2 #F25886 #D3F258 #58F2C4
split-complementary
#7758F2 #F2C458 #86F258
monochromatic
#330FC1 #491FEE #7758F2 #A591F6 #D3CAFB

Accessibility & contrast

On white

4.71
#7758F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7758F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758F2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758F2#FFFFFF#000000##FFFFFF
##7758F21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#487E9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7758f2;
/* rgb */ color: rgb(119, 88, 242);
/* oklch */ color: oklch(57.9% 0.220 286.6);
Tailwind
colors: {
  custom: {
    50: '#a889f7',
    500: '#7758f2',
    950: '#000000',
  },
}
SCSS
$custom: #7758f2;
$custom-light: #a889f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7758f2",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 252.078,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.21953,
    "h": 286.6
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#7758F2
secondary
#E3EDB8
accent
#E203B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7758F2

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

Preview Lab → · Contrast checker → · Palette generator →

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