#765796#765796

#765796 is a mid, moderate violet. Relative luminance 0.129; OKLCH L 51.5% C 0.102 H 305.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#765796
RGBrgb(118, 87, 150)
HSLhsl(270, 27%, 46%)
HSVhsv(270, 42%, 59%)
CMYKcmyk(21.3%, 42%, 0%, 41.2%)
CIE-LABlab(42.57, 25.82, -29.84)
CIE-LCHlch(42.57, 39.46, 310.87°)
OKLaboklab(51.53% 0.0598 -0.083)
OKLCHoklch(51.53% 0.102 305.8)
XYZxyz(16.3833, 12.8701, 30.4693)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765796 #779657
analogous
#575896 #765796 #965796
triadic
#765796 #967657 #579676
tetradic
#765796 #965758 #779657 #579696
square
#765796 #965758 #779657 #579696
split-complementary
#765796 #969657 #589657
monochromatic
#392A49 #58416F #765796 #9579B1 #B3A0C8

Accessibility & contrast

On white

5.88
#765796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#765796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765796
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765796#FFFFFF#000000##FFFFFF
##7657961.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486398
Deuteranopia (green-blind)
#4F6594
Tritanopia (blue-blind)
#71616F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765796;
/* rgb */ color: rgb(118, 87, 150);
/* oklch */ color: oklch(51.5% 0.102 305.8);
Tailwind
colors: {
  custom: {
    50: '#9f87b5',
    500: '#765796',
    950: '#000000',
  },
}
SCSS
$custom: #765796;
$custom-light: #9f87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#765796",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 269.524,
    "s": 26.582,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.10225,
    "h": 305.8
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#765796
secondary
#A5B594
accent
#C36595
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765796

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

Preview Lab → · Contrast checker → · Palette generator →

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