#765AA6#765AA6

#765AA6 is a mid, moderate violet. Relative luminance 0.139; OKLCH L 53.0% C 0.119 H 299.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#765AA6
RGBrgb(118, 90, 166)
HSLhsl(262, 30%, 50%)
HSVhsv(262, 46%, 65%)
CMYKcmyk(28.9%, 45.8%, 0%, 34.9%)
CIE-LABlab(44.11, 28.07, -36.93)
CIE-LCHlch(44.11, 46.38, 307.24°)
OKLaboklab(52.96% 0.0582 -0.1035)
OKLCHoklch(52.96% 0.119 299.3)
XYZxyz(18.0087, 13.9169, 37.8065)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AA6 #8AA65A
analogous
#5A64A6 #765AA6 #9C5AA6
triadic
#765AA6 #A6765A #5AA676
tetradic
#765AA6 #A65A64 #8AA65A #5AA69C
square
#765AA6 #A65A64 #8AA65A #5AA69C
split-complementary
#765AA6 #A69C5A #64A65A
monochromatic
#3E2F57 #5A447F #765AA6 #9782BB #B8AAD1

Accessibility & contrast

On white

5.55
#765AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#765AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AA6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AA6#FFFFFF#000000##FFFFFF
##765AA61.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A9
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#6C6878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #765aa6;
/* rgb */ color: rgb(118, 90, 166);
/* oklch */ color: oklch(53.0% 0.119 299.3);
Tailwind
colors: {
  custom: {
    50: '#9f89c1',
    500: '#765aa6',
    950: '#000000',
  },
}
SCSS
$custom: #765aa6;
$custom-light: #9f89c1;
$custom-dark: #000000;
JSON
{
  "hex": "#765aa6",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 262.105,
    "s": 29.921,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.11874,
    "h": 299.3
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#765AA6
secondary
#B2BF9D
accent
#C662A1
background
#FAF8FB
surface
#F3F0F7
border
#CDCBD0
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #765AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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