#765698#765698

#765698 is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.5% C 0.107 H 305.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#765698
RGBrgb(118, 86, 152)
HSLhsl(269, 28%, 47%)
HSVhsv(269, 43%, 60%)
CMYKcmyk(22.4%, 43.4%, 0%, 40.4%)
CIE-LABlab(42.42, 26.91, -31.27)
CIE-LCHlch(42.42, 41.25, 310.72°)
OKLaboklab(51.45% 0.0617 -0.0871)
OKLCHoklch(51.45% 0.107 305.3)
XYZxyz(16.4653, 12.7742, 31.2979)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765698 #789856
analogous
#565798 #765698 #975698
triadic
#765698 #987656 #569876
tetradic
#765698 #985657 #789856 #569897
square
#765698 #985657 #789856 #569897
split-complementary
#765698 #989756 #579856
monochromatic
#392A4A #584071 #765698 #9578B3 #B49FC9

Accessibility & contrast

On white

5.91
#765698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#765698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765698
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765698#FFFFFF#000000##FFFFFF
##7656981.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639A
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#716170
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765698;
/* rgb */ color: rgb(118, 86, 152);
/* oklch */ color: oklch(51.5% 0.107 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f86b6',
    500: '#765698',
    950: '#000000',
  },
}
SCSS
$custom: #765698;
$custom-light: #9f86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765698",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 269.091,
    "s": 27.731,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.10671,
    "h": 305.3
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#765698
secondary
#A5B693
accent
#C46495
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #765698

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

Preview Lab → · Contrast checker → · Palette generator →

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