#765DB7#765DB7

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

Color values

HEX#765DB7
RGBrgb(118, 93, 183)
HSLhsl(257, 38%, 54%)
HSVhsv(257, 49%, 72%)
CMYKcmyk(35.5%, 49.2%, 0%, 28.2%)
CIE-LABlab(45.77, 30.80, -44.28)
CIE-LCHlch(45.77, 53.94, 304.82°)
OKLaboklab(54.5% 0.0562 -0.125)
OKLCHoklch(54.5% 0.137 294.2)
XYZxyz(19.9306, 15.0988, 46.6548)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DB7 #9EB75D
analogous
#5D71B7 #765DB7 #A35DB7
triadic
#765DB7 #B7765D #5DB776
tetradic
#765DB7 #B75D71 #9EB75D #5DB7A3
square
#765DB7 #B75D71 #9EB75D #5DB7A3
split-complementary
#765DB7 #B7A35D #71B75D
monochromatic
#402F6A #594295 #765DB7 #9A87CA #BEB2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765DB7#FFFFFF#000000##FFFFFF
##765DB71.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)
#3C6DBA
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#676F81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765db7;
/* rgb */ color: rgb(118, 93, 183);
/* oklch */ color: oklch(54.5% 0.137 294.2);
Tailwind
colors: {
  custom: {
    50: '#a18bcd',
    500: '#765db7',
    950: '#000000',
  },
}
SCSS
$custom: #765db7;
$custom-light: #a18bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#765db7",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 256.667,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.13704,
    "h": 294.2
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#765DB7
secondary
#C0CBA5
accent
#CE59AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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