#765EB8#765EB8

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

Color values

HEX#765EB8
RGBrgb(118, 94, 184)
HSLhsl(256, 39%, 55%)
HSVhsv(256, 49%, 72%)
CMYKcmyk(35.9%, 48.9%, 0%, 27.8%)
CIE-LABlab(46.07, 30.48, -44.39)
CIE-LCHlch(46.07, 53.85, 304.48°)
OKLaboklab(54.75% 0.0549 -0.1253)
OKLCHoklch(54.75% 0.137 293.7)
XYZxyz(20.1234, 15.3172, 47.2344)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB8 #A0B85E
analogous
#5E73B8 #765EB8 #A35EB8
triadic
#765EB8 #B8765E #5EB876
tetradic
#765EB8 #B85E73 #A0B85E #5EB8A3
square
#765EB8 #B85E73 #A0B85E #5EB8A3
split-complementary
#765EB8 #B8A35E #73B85E
monochromatic
#40306C #594296 #765EB8 #9A88CB #BEB3DD

Accessibility & contrast

On white

5.17
#765EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765EB8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EB8#FFFFFF#000000##FFFFFF
##765EB81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#416CB6
Tritanopia (blue-blind)
#667082
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765eb8;
/* rgb */ color: rgb(118, 94, 184);
/* oklch */ color: oklch(54.7% 0.137 293.7);
Tailwind
colors: {
  custom: {
    50: '#a18cce',
    500: '#765eb8',
    950: '#000000',
  },
}
SCSS
$custom: #765eb8;
$custom-light: #a18cce;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb8",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 256,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.13684,
    "h": 293.7
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#765EB8
secondary
#C2CCA6
accent
#CF59AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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