#765EA4#765EA4

#765EA4 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.6% C 0.109 H 298.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#765EA4
RGBrgb(118, 94, 164)
HSLhsl(261, 28%, 51%)
HSVhsv(261, 43%, 64%)
CMYKcmyk(28%, 42.7%, 0%, 35.7%)
CIE-LABlab(44.99, 25.15, -34.36)
CIE-LCHlch(44.99, 42.58, 306.20°)
OKLaboklab(53.59% 0.0521 -0.0961)
OKLCHoklch(53.59% 0.109 298.4)
XYZxyz(18.1732, 14.5372, 36.9633)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EA4 #8CA45E
analogous
#5E69A4 #765EA4 #995EA4
triadic
#765EA4 #A4765E #5EA476
tetradic
#765EA4 #A45E69 #8CA45E #5EA499
square
#765EA4 #A45E69 #8CA45E #5EA499
split-complementary
#765EA4 #A4995E #69A45E
monochromatic
#3E3157 #5A477E #765EA4 #9785BA #B9ACD0

Accessibility & contrast

On white

5.37
#765EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#765EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EA4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EA4#FFFFFF#000000##FFFFFF
##765EA41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA7
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#6D6A79
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765ea4;
/* rgb */ color: rgb(118, 94, 164);
/* oklch */ color: oklch(53.6% 0.109 298.4);
Tailwind
colors: {
  custom: {
    50: '#9f8cbf',
    500: '#765ea4',
    950: '#000000',
  },
}
SCSS
$custom: #765ea4;
$custom-light: #9f8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#765ea4",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 260.571,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.10926,
    "h": 298.4
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#765EA4
secondary
#B4BE9F
accent
#C464A3
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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