#765798#765798

#765798 is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.6% C 0.105 H 305.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#765798
RGBrgb(118, 87, 152)
HSLhsl(269, 27%, 47%)
HSVhsv(269, 43%, 60%)
CMYKcmyk(22.4%, 42.8%, 0%, 40.4%)
CIE-LABlab(42.67, 26.31, -30.88)
CIE-LCHlch(42.67, 40.57, 310.43°)
OKLaboklab(51.64% 0.0602 -0.086)
OKLCHoklch(51.64% 0.105 305)
XYZxyz(16.5457, 12.9350, 31.3247)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765798 #799857
analogous
#575998 #765798 #975798
triadic
#765798 #987657 #579876
tetradic
#765798 #985759 #799857 #579897
square
#765798 #985759 #799857 #579897
split-complementary
#765798 #989757 #599857
monochromatic
#3A2A4A #584171 #765798 #957AB3 #B4A0C9

Accessibility & contrast

On white

5.85
#765798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#765798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765798
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765798#FFFFFF#000000##FFFFFF
##7657981.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649A
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#716270
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #765798;
/* rgb */ color: rgb(118, 87, 152);
/* oklch */ color: oklch(51.6% 0.105 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f87b6',
    500: '#765798',
    950: '#000000',
  },
}
SCSS
$custom: #765798;
$custom-light: #9f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765798",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 268.615,
    "s": 27.197,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.10494,
    "h": 305
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#765798
secondary
#A6B694
accent
#C46496
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765798

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

Preview Lab → · Contrast checker → · Palette generator →

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