#765997#765997

#765997 is a mid, moderate violet. Relative luminance 0.132; OKLCH L 52.0% C 0.100 H 304.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#765997
RGBrgb(118, 89, 151)
HSLhsl(268, 26%, 47%)
HSVhsv(268, 41%, 59%)
CMYKcmyk(21.9%, 41.1%, 0%, 40.8%)
CIE-LABlab(43.11, 24.87, -29.59)
CIE-LCHlch(43.11, 38.65, 310.04°)
OKLaboklab(51.96% 0.0569 -0.0822)
OKLCHoklch(51.96% 0.1 304.7)
XYZxyz(16.6284, 13.2307, 30.9499)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765997 #7A9759
analogous
#595B97 #765997 #955997
triadic
#765997 #977659 #599776
tetradic
#765997 #97595B #7A9759 #599795
square
#765997 #97595B #7A9759 #599795
split-complementary
#765997 #979559 #5B9759
monochromatic
#3A2C4A #584270 #765997 #957CB2 #B4A2C8

Accessibility & contrast

On white

5.76
#765997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#765997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765997
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765997#FFFFFF#000000##FFFFFF
##7659971.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #765997;
/* rgb */ color: rgb(118, 89, 151);
/* oklch */ color: oklch(52.0% 0.100 304.7);
Tailwind
colors: {
  custom: {
    50: '#9f88b6',
    500: '#765997',
    950: '#000000',
  },
}
SCSS
$custom: #765997;
$custom-light: #9f88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765997",
  "rgb": {
    "r": 118,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 268.065,
    "s": 25.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51955,
    "c": 0.10003,
    "h": 304.7
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#765997
secondary
#A7B696
accent
#C26697
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765997

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

Preview Lab → · Contrast checker → · Palette generator →

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