#775798#775798

#775798 is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.7% C 0.105 H 305.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#775798
RGBrgb(119, 87, 152)
HSLhsl(270, 27%, 47%)
HSVhsv(270, 43%, 60%)
CMYKcmyk(21.7%, 42.8%, 0%, 40.4%)
CIE-LABlab(42.77, 26.62, -30.71)
CIE-LCHlch(42.77, 40.64, 310.92°)
OKLaboklab(51.74% 0.0614 -0.0854)
OKLCHoklch(51.74% 0.105 305.7)
XYZxyz(16.6823, 13.0054, 31.3311)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#775798 #789857
analogous
#575898 #775798 #985798
triadic
#775798 #987757 #579877
tetradic
#775798 #985758 #789857 #579898
square
#775798 #985758 #789857 #579898
split-complementary
#775798 #989857 #589857
monochromatic
#3A2A4A #594171 #775798 #967AB3 #B4A0C9

Accessibility & contrast

On white

5.83
#775798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#775798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #775798
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##775798#FFFFFF#000000##FFFFFF
##7757981.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649A
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#726170
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #775798;
/* rgb */ color: rgb(119, 87, 152);
/* oklch */ color: oklch(51.7% 0.105 305.7);
Tailwind
colors: {
  custom: {
    50: '#9f87b6',
    500: '#775798',
    950: '#000000',
  },
}
SCSS
$custom: #775798;
$custom-light: #9f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#775798",
  "rgb": {
    "r": 119,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 269.538,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.10525,
    "h": 305.7
  },
  "luminance": 0.13005
}

Semantic roles & 50–950 ramp

primary
#775798
secondary
#A6B694
accent
#C46495
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #775798

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

Preview Lab → · Contrast checker → · Palette generator →

#775798 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva