#765A96#765A96

#765A96 is a mid, moderate violet. Relative luminance 0.134; OKLCH L 52.1% C 0.097 H 304.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#765A96
RGBrgb(118, 90, 150)
HSLhsl(268, 25%, 47%)
HSVhsv(268, 40%, 59%)
CMYKcmyk(21.3%, 40%, 0%, 41.2%)
CIE-LABlab(43.31, 24.02, -28.68)
CIE-LCHlch(43.31, 37.41, 309.95°)
OKLaboklab(52.09% 0.0552 -0.0796)
OKLCHoklch(52.09% 0.097 304.7)
XYZxyz(16.6313, 13.3660, 30.5520)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765A96 #7A965A
analogous
#5A5C96 #765A96 #945A96
triadic
#765A96 #96765A #5A9676
tetradic
#765A96 #965A5C #7A965A #5A9694
square
#765A96 #965A5C #7A965A #5A9694
split-complementary
#765A96 #96945A #5C965A
monochromatic
#3A2C4A #584370 #765A96 #957DB1 #B4A3C8

Accessibility & contrast

On white

5.72
#765A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#765A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765A96
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765A96#FFFFFF#000000##FFFFFF
##765A961.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6598
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#716371
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #765a96;
/* rgb */ color: rgb(118, 90, 150);
/* oklch */ color: oklch(52.1% 0.097 304.7);
Tailwind
colors: {
  custom: {
    50: '#9e89b5',
    500: '#765a96',
    950: '#000000',
  },
}
SCSS
$custom: #765a96;
$custom-light: #9e89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#765a96",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 268,
    "s": 25,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.09689,
    "h": 304.7
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#765A96
secondary
#A7B596
accent
#C16697
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765A96

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

Preview Lab → · Contrast checker → · Palette generator →

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