#765BAE#765BAE

#765BAE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 53.6% C 0.128 H 296.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#765BAE
RGBrgb(118, 91, 174)
HSLhsl(260, 34%, 52%)
HSVhsv(260, 48%, 68%)
CMYKcmyk(32.2%, 47.7%, 0%, 31.8%)
CIE-LABlab(44.79, 29.57, -40.58)
CIE-LCHlch(44.79, 50.21, 306.09°)
OKLaboklab(53.61% 0.0578 -0.1142)
OKLCHoklch(53.61% 0.128 296.9)
XYZxyz(18.8504, 14.3895, 41.8205)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BAE #93AE5B
analogous
#5B6AAE #765BAE #A05BAE
triadic
#765BAE #AE765B #5BAE76
tetradic
#765BAE #AE5B6A #93AE5B #5BAEA0
square
#765BAE #AE5B6A #93AE5B #5BAEA0
split-complementary
#765BAE #AEA05B #6AAE5B
monochromatic
#3F2F5F #5A4388 #765BAE #9884C2 #BAADD6

Accessibility & contrast

On white

5.42
#765BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#765BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BAE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BAE#FFFFFF#000000##FFFFFF
##765BAE1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#6A6B7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765bae;
/* rgb */ color: rgb(118, 91, 174);
/* oklch */ color: oklch(53.6% 0.128 296.9);
Tailwind
colors: {
  custom: {
    50: '#a08ac6',
    500: '#765bae',
    950: '#000000',
  },
}
SCSS
$custom: #765bae;
$custom-light: #a08ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#765bae",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 259.518,
    "s": 33.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.12799,
    "h": 296.9
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#765BAE
secondary
#B9C5A0
accent
#CA5EA7
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #765BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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