#765DB5#765DB5

#765DB5 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.4% C 0.134 H 294.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#765DB5
RGBrgb(118, 93, 181)
HSLhsl(257, 37%, 54%)
HSVhsv(257, 49%, 71%)
CMYKcmyk(34.8%, 48.6%, 0%, 29%)
CIE-LABlab(45.66, 30.26, -43.29)
CIE-LCHlch(45.66, 52.82, 304.95°)
OKLaboklab(54.38% 0.0559 -0.1221)
OKLCHoklch(54.38% 0.134 294.6)
XYZxyz(19.7239, 15.0161, 45.5663)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DB5 #9CB55D
analogous
#5D70B5 #765DB5 #A25DB5
triadic
#765DB5 #B5765D #5DB576
tetradic
#765DB5 #B55D70 #9CB55D #5DB5A2
square
#765DB5 #B55D70 #9CB55D #5DB5A2
split-complementary
#765DB5 #B5A25D #70B55D
monochromatic
#403068 #594392 #765DB5 #9A87C8 #BDB1DB

Accessibility & contrast

On white

5.25
#765DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#765DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DB5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DB5#FFFFFF#000000##FFFFFF
##765DB51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB8
Deuteranopia (green-blind)
#436BB3
Tritanopia (blue-blind)
#676E80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765db5;
/* rgb */ color: rgb(118, 93, 181);
/* oklch */ color: oklch(54.4% 0.134 294.6);
Tailwind
colors: {
  custom: {
    50: '#a08bcb',
    500: '#765db5',
    950: '#000000',
  },
}
SCSS
$custom: #765db5;
$custom-light: #a08bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#765db5",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 257.045,
    "s": 37.288,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.13431,
    "h": 294.6
  },
  "luminance": 0.15016
}

Semantic roles & 50–950 ramp

primary
#765DB5
secondary
#BFCAA4
accent
#CD5BAD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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