#765EB3#765EB3

#765EB3 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.4% C 0.130 H 294.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#765EB3
RGBrgb(118, 94, 179)
HSLhsl(257, 36%, 54%)
HSVhsv(257, 47%, 70%)
CMYKcmyk(34.1%, 47.5%, 0%, 29.8%)
CIE-LABlab(45.79, 29.12, -41.92)
CIE-LCHlch(45.79, 51.04, 304.79°)
OKLaboklab(54.45% 0.0544 -0.1181)
OKLCHoklch(54.45% 0.13 294.7)
XYZxyz(19.6085, 15.1113, 44.5228)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB3 #9BB35E
analogous
#5E70B3 #765EB3 #A05EB3
triadic
#765EB3 #B3765E #5EB376
tetradic
#765EB3 #B35E70 #9BB35E #5EB3A0
square
#765EB3 #B35E70 #9BB35E #5EB3A0
split-complementary
#765EB3 #B3A05E #70B35E
monochromatic
#403066 #594490 #765EB3 #9988C7 #BDB1DA

Accessibility & contrast

On white

5.22
#765EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#765EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EB3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EB3#FFFFFF#000000##FFFFFF
##765EB31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#686E80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765eb3;
/* rgb */ color: rgb(118, 94, 179);
/* oklch */ color: oklch(54.4% 0.130 294.7);
Tailwind
colors: {
  custom: {
    50: '#a08cca',
    500: '#765eb3',
    950: '#000000',
  },
}
SCSS
$custom: #765eb3;
$custom-light: #a08cca;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb3",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 256.941,
    "s": 35.865,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.13,
    "h": 294.7
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#765EB3
secondary
#BEC9A4
accent
#CC5CAC
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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