#765799#765799

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

Color values

HEX#765799
RGBrgb(118, 87, 153)
HSLhsl(268, 28%, 47%)
HSVhsv(268, 43%, 60%)
CMYKcmyk(22.9%, 43.1%, 0%, 40%)
CIE-LABlab(42.71, 26.56, -31.40)
CIE-LCHlch(42.71, 41.13, 310.23°)
OKLaboklab(51.69% 0.0604 -0.0875)
OKLCHoklch(51.69% 0.106 304.6)
XYZxyz(16.6280, 12.9679, 31.7579)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765799 #7A9957
analogous
#575999 #765799 #975799
triadic
#765799 #997657 #579976
tetradic
#765799 #995759 #7A9957 #579997
square
#765799 #995759 #7A9957 #579997
split-complementary
#765799 #999757 #599957
monochromatic
#3A2B4B #584172 #765799 #957AB3 #B4A1C9

Accessibility & contrast

On white

5.84
#765799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765799
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765799#FFFFFF#000000##FFFFFF
##7657991.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#706270
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #765799;
/* rgb */ color: rgb(118, 87, 153);
/* oklch */ color: oklch(51.7% 0.106 304.6);
Tailwind
colors: {
  custom: {
    50: '#9f87b7',
    500: '#765799',
    950: '#000000',
  },
}
SCSS
$custom: #765799;
$custom-light: #9f87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#765799",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 268.182,
    "s": 27.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.10628,
    "h": 304.6
  },
  "luminance": 0.12968
}

Semantic roles & 50–950 ramp

primary
#765799
secondary
#A7B795
accent
#C46497
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #765799

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

Preview Lab → · Contrast checker → · Palette generator →

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