#765786#765786

#765786 is a mid, moderate violet. Relative luminance 0.124; OKLCH L 50.7% C 0.081 H 313.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#765786
RGBrgb(118, 87, 134)
HSLhsl(280, 21%, 43%)
HSVhsv(280, 35%, 53%)
CMYKcmyk(11.9%, 35.1%, 0%, 47.5%)
CIE-LABlab(41.83, 22.03, -21.35)
CIE-LCHlch(41.83, 30.67, 315.90°)
OKLaboklab(50.73% 0.056 -0.0586)
OKLCHoklch(50.73% 0.081 313.7)
XYZxyz(15.1818, 12.3894, 24.1413)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765786 #678657
analogous
#5E5786 #765786 #86577E
triadic
#765786 #867657 #578676
tetradic
#765786 #865E57 #678657 #577E86
square
#765786 #865E57 #678657 #577E86
split-complementary
#765786 #7E8657 #57865E
monochromatic
#35273C #553F61 #765786 #9575A5 #B19ABD

Accessibility & contrast

On white

6.04
#765786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#765786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765786
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765786#FFFFFF#000000##FFFFFF
##7657861.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6188
Deuteranopia (green-blind)
#576485
Tritanopia (blue-blind)
#755D68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #765786;
/* rgb */ color: rgb(118, 87, 134);
/* oklch */ color: oklch(50.7% 0.081 313.7);
Tailwind
colors: {
  custom: {
    50: '#9e87a9',
    500: '#765786',
    950: '#000000',
  },
}
SCSS
$custom: #765786;
$custom-light: #9e87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#765786",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 279.574,
    "s": 21.267,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50728,
    "c": 0.08107,
    "h": 313.7
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#765786
secondary
#98AB8E
accent
#BE6A87
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0E0B10
muted
#7E7C7F

Preview Lab

Preview with #765786

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

Preview Lab → · Contrast checker → · Palette generator →

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