#765EB2#765EB2

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

Color values

HEX#765EB2
RGBrgb(118, 94, 178)
HSLhsl(257, 35%, 53%)
HSVhsv(257, 47%, 70%)
CMYKcmyk(33.7%, 47.2%, 0%, 30.2%)
CIE-LABlab(45.73, 28.85, -41.42)
CIE-LCHlch(45.73, 50.48, 304.86°)
OKLaboklab(54.38% 0.0542 -0.1166)
OKLCHoklch(54.38% 0.129 294.9)
XYZxyz(19.5078, 15.0710, 43.9921)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB2 #9AB25E
analogous
#5E70B2 #765EB2 #A05EB2
triadic
#765EB2 #B2765E #5EB276
tetradic
#765EB2 #B25E70 #9AB25E #5EB2A0
square
#765EB2 #B25E70 #9AB25E #5EB2A0
split-complementary
#765EB2 #B2A05E #70B25E
monochromatic
#3F3065 #59448F #765EB2 #9987C6 #BCB1DA

Accessibility & contrast

On white

5.23
#765EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#765EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EB2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EB2#FFFFFF#000000##FFFFFF
##765EB21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB5
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#686E7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765eb2;
/* rgb */ color: rgb(118, 94, 178);
/* oklch */ color: oklch(54.4% 0.129 294.9);
Tailwind
colors: {
  custom: {
    50: '#a08cc9',
    500: '#765eb2',
    950: '#000000',
  },
}
SCSS
$custom: #765eb2;
$custom-light: #a08cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb2",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 257.143,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.12863,
    "h": 294.9
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#765EB2
secondary
#BEC8A4
accent
#CB5CAC
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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