#765EB7#765EB7

#765EB7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.7% C 0.135 H 293.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#765EB7
RGBrgb(118, 94, 183)
HSLhsl(256, 38%, 54%)
HSVhsv(256, 49%, 72%)
CMYKcmyk(35.5%, 48.6%, 0%, 28.2%)
CIE-LABlab(46.01, 30.21, -43.90)
CIE-LCHlch(46.01, 53.29, 304.53°)
OKLaboklab(54.68% 0.0548 -0.1239)
OKLCHoklch(54.68% 0.135 293.9)
XYZxyz(20.0190, 15.2755, 46.6843)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB7 #9FB75E
analogous
#5E73B7 #765EB7 #A35EB7
triadic
#765EB7 #B7765E #5EB776
tetradic
#765EB7 #B75E73 #9FB75E #5EB7A3
square
#765EB7 #B75E73 #9FB75E #5EB7A3
split-complementary
#765EB7 #B7A35E #73B75E
monochromatic
#40306B #594395 #765EB7 #9A88CA #BEB3DD

Accessibility & contrast

On white

5.18
#765EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#765EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EB7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EB7#FFFFFF#000000##FFFFFF
##765EB71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBA
Deuteranopia (green-blind)
#426BB5
Tritanopia (blue-blind)
#666F82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765eb7;
/* rgb */ color: rgb(118, 94, 183);
/* oklch */ color: oklch(54.7% 0.135 293.9);
Tailwind
colors: {
  custom: {
    50: '#a08ccd',
    500: '#765eb7',
    950: '#000000',
  },
}
SCSS
$custom: #765eb7;
$custom-light: #a08ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb7",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 256.18,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.13547,
    "h": 293.9
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#765EB7
secondary
#C1CBA6
accent
#CE5AAF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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