#765F8D#765F8D

#765F8D is a mid, moderate violet. Relative luminance 0.140; OKLCH L 52.6% C 0.075 H 306.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#765F8D
RGBrgb(118, 95, 141)
HSLhsl(270, 19%, 46%)
HSVhsv(270, 33%, 55%)
CMYKcmyk(16.3%, 32.6%, 0%, 44.7%)
CIE-LABlab(44.17, 18.82, -21.94)
CIE-LCHlch(44.17, 28.91, 310.62°)
OKLaboklab(52.62% 0.0452 -0.0603)
OKLCHoklch(52.62% 0.075 306.8)
XYZxyz(16.3702, 13.9592, 27.0261)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765F8D #768D5F
analogous
#5F5F8D #765F8D #8D5F8D
triadic
#765F8D #8D765F #5F8D76
tetradic
#765F8D #8D5F5F #768D5F #5F8D8D
square
#765F8D #8D5F5F #768D5F #5F8D8D
split-complementary
#765F8D #8D8D5F #5F8D5F
monochromatic
#392E44 #574668 #765F8D #9580A9 #B3A4C2

Accessibility & contrast

On white

5.54
#765F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#765F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765F8D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765F8D#FFFFFF#000000##FFFFFF
##765F8D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56688F
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#736670
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #765f8d;
/* rgb */ color: rgb(118, 95, 141);
/* oklch */ color: oklch(52.6% 0.075 306.8);
Tailwind
colors: {
  custom: {
    50: '#9e8cae',
    500: '#765f8d',
    950: '#000000',
  },
}
SCSS
$custom: #765f8d;
$custom-light: #9e8cae;
$custom-dark: #000000;
JSON
{
  "hex": "#765f8d",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 270,
    "s": 19.492,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.0754,
    "h": 306.8
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#765F8D
secondary
#A4B097
accent
#BC6C94
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #765F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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