#765897#765897

#765897 is a mid, moderate violet. Relative luminance 0.131; OKLCH L 51.8% C 0.102 H 305.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#765897
RGBrgb(118, 88, 151)
HSLhsl(269, 26%, 47%)
HSVhsv(269, 42%, 59%)
CMYKcmyk(21.9%, 41.7%, 0%, 40.8%)
CIE-LABlab(42.86, 25.47, -29.98)
CIE-LCHlch(42.86, 39.33, 310.35°)
OKLaboklab(51.77% 0.0585 -0.0834)
OKLCHoklch(51.77% 0.102 305)
XYZxyz(16.5457, 13.0654, 30.9224)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765897 #799758
analogous
#585A97 #765897 #965897
triadic
#765897 #977658 #589776
tetradic
#765897 #97585A #799758 #589796
square
#765897 #97585A #799758 #589796
split-complementary
#765897 #979658 #5A9758
monochromatic
#3A2B4A #584170 #765897 #957AB2 #B4A1C8

Accessibility & contrast

On white

5.81
#765897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#765897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765897
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765897#FFFFFF#000000##FFFFFF
##7658971.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#716270
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #765897;
/* rgb */ color: rgb(118, 88, 151);
/* oklch */ color: oklch(51.8% 0.102 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f87b6',
    500: '#765897',
    950: '#000000',
  },
}
SCSS
$custom: #765897;
$custom-light: #9f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765897",
  "rgb": {
    "r": 118,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 268.571,
    "s": 26.36,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.10182,
    "h": 305
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#765897
secondary
#A6B695
accent
#C36596
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765897

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

Preview Lab → · Contrast checker → · Palette generator →

#765897 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva