#765B8A#765B8A

#765B8A is a mid, moderate violet. Relative luminance 0.132; OKLCH L 51.7% C 0.079 H 310.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#765B8A
RGBrgb(118, 91, 138)
HSLhsl(274, 21%, 45%)
HSVhsv(274, 34%, 54%)
CMYKcmyk(14.5%, 34.1%, 0%, 45.9%)
CIE-LABlab(43.02, 20.53, -21.93)
CIE-LCHlch(43.02, 30.04, 313.12°)
OKLaboklab(51.69% 0.0507 -0.0603)
OKLCHoklch(51.69% 0.079 310.1)
XYZxyz(15.7989, 13.1689, 25.7494)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765B8A #6F8A5B
analogous
#5F5B8A #765B8A #8A5B87
triadic
#765B8A #8A765B #5B8A76
tetradic
#765B8A #8A5F5B #6F8A5B #5B878A
square
#765B8A #8A5F5B #6F8A5B #5B878A
split-complementary
#765B8A #878A5B #5B8A5F
monochromatic
#372A40 #564365 #765B8A #947BA8 #B29FC0

Accessibility & contrast

On white

5.78
#765B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#765B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765B8A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765B8A#FFFFFF#000000##FFFFFF
##765B8A1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53648C
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#74616C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #765b8a;
/* rgb */ color: rgb(118, 91, 138);
/* oklch */ color: oklch(51.7% 0.079 310.1);
Tailwind
colors: {
  custom: {
    50: '#9e89ac',
    500: '#765b8a',
    950: '#000000',
  },
}
SCSS
$custom: #765b8a;
$custom-light: #9e89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#765b8a",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 274.468,
    "s": 20.524,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.07877,
    "h": 310.1
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#765B8A
secondary
#9EAE93
accent
#BD6B8E
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0B10
muted
#7E7C7F

Preview Lab

Preview with #765B8A

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

Preview Lab → · Contrast checker → · Palette generator →

#765B8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva