#765C98#765C98

#765C98 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.6% C 0.096 H 303.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#765C98
RGBrgb(118, 92, 152)
HSLhsl(266, 25%, 48%)
HSVhsv(266, 39%, 60%)
CMYKcmyk(22.4%, 39.5%, 0%, 40.4%)
CIE-LABlab(43.91, 23.30, -28.94)
CIE-LCHlch(43.91, 37.16, 308.84°)
OKLaboklab(52.57% 0.0526 -0.0804)
OKLCHoklch(52.57% 0.096 303.2)
XYZxyz(16.9647, 13.7729, 31.4644)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765C98 #7E985C
analogous
#5C6098 #765C98 #945C98
triadic
#765C98 #98765C #5C9876
tetradic
#765C98 #985C60 #7E985C #5C9894
square
#765C98 #985C60 #7E985C #5C9894
split-complementary
#765C98 #98945C #60985C
monochromatic
#3B2E4C #584572 #765C98 #957FB2 #B5A6C9

Accessibility & contrast

On white

5.59
#765C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#765C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765C98
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765C98#FFFFFF#000000##FFFFFF
##765C981.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E679A
Deuteranopia (green-blind)
#536896
Tritanopia (blue-blind)
#706673
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #765c98;
/* rgb */ color: rgb(118, 92, 152);
/* oklch */ color: oklch(52.6% 0.096 303.2);
Tailwind
colors: {
  custom: {
    50: '#9e8ab6',
    500: '#765c98',
    950: '#000000',
  },
}
SCSS
$custom: #765c98;
$custom-light: #9e8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#765c98",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 152
  },
  "hsl": {
    "h": 266,
    "s": 24.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.09607,
    "h": 303.2
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#765C98
secondary
#AAB799
accent
#C1679A
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C11
muted
#7E7D80

Preview Lab

Preview with #765C98

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

Preview Lab → · Contrast checker → · Palette generator →

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