#7758CA#7758CA

#7758CA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.0% C 0.170 H 292.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7758CA
RGBrgb(119, 88, 202)
HSLhsl(256, 52%, 57%)
HSVhsv(256, 56%, 79%)
CMYKcmyk(41.1%, 56.4%, 0%, 20.8%)
CIE-LABlab(45.86, 39.22, -55.14)
CIE-LCHlch(45.86, 67.67, 305.42°)
OKLaboklab(54.97% 0.0648 -0.1568)
OKLCHoklch(54.97% 0.17 292.5)
XYZxyz(21.7553, 15.1651, 57.6466)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7758CA #ABCA58
analogous
#5872CA #7758CA #B058CA
triadic
#7758CA #CA7758 #58CA77
tetradic
#7758CA #CA5872 #ABCA58 #58CAB0
square
#7758CA #CA5872 #ABCA58 #58CAB0
split-complementary
#7758CA #CAB058 #72CA58
monochromatic
#40287F #5737AE #7758CA #9D86D9 #C3B5E7

Accessibility & contrast

On white

5.21
#7758CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7758CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7758CA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7758CA#FFFFFF#000000##FFFFFF
##7758CA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#236AC7
Tritanopia (blue-blind)
#617088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7758ca;
/* rgb */ color: rgb(119, 88, 202);
/* oklch */ color: oklch(55.0% 0.170 292.5);
Tailwind
colors: {
  custom: {
    50: '#a388db',
    500: '#7758ca',
    950: '#000000',
  },
}
SCSS
$custom: #7758ca;
$custom-light: #a388db;
$custom-dark: #000000;
JSON
{
  "hex": "#7758ca",
  "rgb": {
    "r": 119,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 256.316,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.16971,
    "h": 292.5
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#7758CA
secondary
#CAD6A8
accent
#DB4DB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7758CA

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

Preview Lab → · Contrast checker → · Palette generator →

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