#765A8A#765A8A

#765A8A is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.5% C 0.081 H 310.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#765A8A
RGBrgb(118, 90, 138)
HSLhsl(275, 21%, 45%)
HSVhsv(275, 35%, 54%)
CMYKcmyk(14.5%, 34.8%, 0%, 45.9%)
CIE-LABlab(42.76, 21.14, -22.32)
CIE-LCHlch(42.76, 30.74, 313.44°)
OKLaboklab(51.5% 0.0523 -0.0614)
OKLCHoklch(51.5% 0.081 310.4)
XYZxyz(15.7140, 12.9991, 25.7211)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765A8A #6E8A5A
analogous
#5E5A8A #765A8A #8A5A86
triadic
#765A8A #8A765A #5A8A76
tetradic
#765A8A #8A5E5A #6E8A5A #5A868A
square
#765A8A #8A5E5A #6E8A5A #5A868A
split-complementary
#765A8A #868A5A #5A8A5E
monochromatic
#372A40 #564265 #765A8A #9479A8 #B29EC0

Accessibility & contrast

On white

5.83
#765A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#765A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765A8A
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765A8A#FFFFFF#000000##FFFFFF
##765A8A1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #765a8a;
/* rgb */ color: rgb(118, 90, 138);
/* oklch */ color: oklch(51.5% 0.081 310.4);
Tailwind
colors: {
  custom: {
    50: '#9e89ac',
    500: '#765a8a',
    950: '#000000',
  },
}
SCSS
$custom: #765a8a;
$custom-light: #9e89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#765a8a",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 275,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.08065,
    "h": 310.4
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#765A8A
secondary
#9EAE92
accent
#BE6A8D
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0B10
muted
#7E7C7F

Preview Lab

Preview with #765A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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