#765EA7#765EA7

#765EA7 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.8% C 0.113 H 297.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#765EA7
RGBrgb(118, 94, 167)
HSLhsl(260, 29%, 51%)
HSVhsv(260, 44%, 65%)
CMYKcmyk(29.3%, 43.7%, 0%, 34.5%)
CIE-LABlab(45.15, 25.93, -35.89)
CIE-LCHlch(45.15, 44.27, 305.85°)
OKLaboklab(53.76% 0.0526 -0.1005)
OKLCHoklch(53.76% 0.113 297.6)
XYZxyz(18.4473, 14.6468, 38.4070)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EA7 #8FA75E
analogous
#5E6AA7 #765EA7 #9A5EA7
triadic
#765EA7 #A7765E #5EA776
tetradic
#765EA7 #A75E6A #8FA75E #5EA79A
square
#765EA7 #A75E6A #8FA75E #5EA79A
split-complementary
#765EA7 #A79A5E #6AA75E
monochromatic
#3E315A #5A4781 #765EA7 #9886BD #B9ADD2

Accessibility & contrast

On white

5.34
#765EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#765EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EA7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EA7#FFFFFF#000000##FFFFFF
##765EA71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #765ea7;
/* rgb */ color: rgb(118, 94, 167);
/* oklch */ color: oklch(53.8% 0.113 297.6);
Tailwind
colors: {
  custom: {
    50: '#9f8cc1',
    500: '#765ea7',
    950: '#000000',
  },
}
SCSS
$custom: #765ea7;
$custom-light: #9f8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#765ea7",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 259.726,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.11343,
    "h": 297.6
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#765EA7
secondary
#B6C1A0
accent
#C662A5
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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