#765EA6#765EA6

#765EA6 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.7% C 0.112 H 297.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#765EA6
RGBrgb(118, 94, 166)
HSLhsl(260, 29%, 51%)
HSVhsv(260, 43%, 65%)
CMYKcmyk(28.9%, 43.4%, 0%, 34.9%)
CIE-LABlab(45.10, 25.67, -35.38)
CIE-LCHlch(45.10, 43.71, 305.96°)
OKLaboklab(53.7% 0.0524 -0.099)
OKLCHoklch(53.7% 0.112 297.9)
XYZxyz(18.3552, 14.6100, 37.9220)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EA6 #8EA65E
analogous
#5E6AA6 #765EA6 #9A5EA6
triadic
#765EA6 #A6765E #5EA676
tetradic
#765EA6 #A65E6A #8EA65E #5EA69A
square
#765EA6 #A65E6A #8EA65E #5EA69A
split-complementary
#765EA6 #A69A5E #6AA65E
monochromatic
#3E3159 #5A4780 #765EA6 #9885BC #B9ADD2

Accessibility & contrast

On white

5.35
#765EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#765EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EA6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EA6#FFFFFF#000000##FFFFFF
##765EA61.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#6C6B7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765ea6;
/* rgb */ color: rgb(118, 94, 166);
/* oklch */ color: oklch(53.7% 0.112 297.9);
Tailwind
colors: {
  custom: {
    50: '#9f8cc1',
    500: '#765ea6',
    950: '#000000',
  },
}
SCSS
$custom: #765ea6;
$custom-light: #9f8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#765ea6",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 260,
    "s": 28.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.11204,
    "h": 297.9
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#765EA6
secondary
#B5C0A0
accent
#C563A4
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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