#765A97#765A97

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

Color values

HEX#765A97
RGBrgb(118, 90, 151)
HSLhsl(268, 25%, 47%)
HSVhsv(268, 40%, 59%)
CMYKcmyk(21.9%, 40.4%, 0%, 40.8%)
CIE-LABlab(43.36, 24.26, -29.20)
CIE-LCHlch(43.36, 37.97, 309.72°)
OKLaboklab(52.14% 0.0554 -0.0811)
OKLCHoklch(52.14% 0.098 304.3)
XYZxyz(16.7121, 13.3983, 30.9779)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765A97 #7B975A
analogous
#5A5D97 #765A97 #955A97
triadic
#765A97 #97765A #5A9776
tetradic
#765A97 #975A5D #7B975A #5A9795
square
#765A97 #975A5D #7B975A #5A9795
split-complementary
#765A97 #97955A #5D975A
monochromatic
#3A2C4A #584371 #765A97 #957DB1 #B4A3C8

Accessibility & contrast

On white

5.71
#765A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#765A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765A97
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765A97#FFFFFF#000000##FFFFFF
##765A971.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6699
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#716471
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #765a97;
/* rgb */ color: rgb(118, 90, 151);
/* oklch */ color: oklch(52.1% 0.098 304.3);
Tailwind
colors: {
  custom: {
    50: '#9f89b6',
    500: '#765a97',
    950: '#000000',
  },
}
SCSS
$custom: #765a97;
$custom-light: #9f89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765a97",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 267.541,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.09826,
    "h": 304.3
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#765A97
secondary
#A8B697
accent
#C26698
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765A97

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

Preview Lab → · Contrast checker → · Palette generator →

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