#765DB9#765DB9

#765DB9 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.6% C 0.140 H 293.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#765DB9
RGBrgb(118, 93, 185)
HSLhsl(256, 40%, 55%)
HSVhsv(256, 50%, 73%)
CMYKcmyk(36.2%, 49.7%, 0%, 27.5%)
CIE-LABlab(45.88, 31.35, -45.26)
CIE-LCHlch(45.88, 55.06, 304.71°)
OKLaboklab(54.63% 0.0564 -0.1279)
OKLCHoklch(54.63% 0.14 293.8)
XYZxyz(20.1402, 15.1826, 47.7590)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DB9 #A0B95D
analogous
#5D72B9 #765DB9 #A45DB9
triadic
#765DB9 #B9765D #5DB976
tetradic
#765DB9 #B95D72 #A0B95D #5DB9A4
square
#765DB9 #B95D72 #A0B95D #5DB9A4
split-complementary
#765DB9 #B9A45D #72B95D
monochromatic
#402F6D #594197 #765DB9 #9A88CB #BEB2DE

Accessibility & contrast

On white

5.20
#765DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#765DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DB9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DB9#FFFFFF#000000##FFFFFF
##765DB91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBC
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#666F82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765db9;
/* rgb */ color: rgb(118, 93, 185);
/* oklch */ color: oklch(54.6% 0.140 293.8);
Tailwind
colors: {
  custom: {
    50: '#a18bce',
    500: '#765db9',
    950: '#000000',
  },
}
SCSS
$custom: #765db9;
$custom-light: #a18bce;
$custom-dark: #000000;
JSON
{
  "hex": "#765db9",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 256.304,
    "s": 39.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54627,
    "c": 0.13975,
    "h": 293.8
  },
  "luminance": 0.15183
}

Semantic roles & 50–950 ramp

primary
#765DB9
secondary
#C2CCA5
accent
#D058AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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