#765BB1#765BB1

#765BB1 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.8% C 0.132 H 296.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#765BB1
RGBrgb(118, 91, 177)
HSLhsl(259, 36%, 53%)
HSVhsv(259, 49%, 69%)
CMYKcmyk(33.3%, 48.6%, 0%, 30.6%)
CIE-LABlab(44.95, 30.37, -42.07)
CIE-LCHlch(44.95, 51.89, 305.83°)
OKLaboklab(53.78% 0.0582 -0.1185)
OKLCHoklch(53.78% 0.132 296.1)
XYZxyz(19.1461, 14.5078, 43.3780)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BB1 #96B15B
analogous
#5B6BB1 #765BB1 #A15BB1
triadic
#765BB1 #B1765B #5BB176
tetradic
#765BB1 #B15B6B #96B15B #5BB1A1
square
#765BB1 #B15B6B #96B15B #5BB1A1
split-complementary
#765BB1 #B1A15B #6BB15B
monochromatic
#3F2F63 #5A438C #765BB1 #9984C5 #BBAED8

Accessibility & contrast

On white

5.38
#765BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#765BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BB1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BB1#FFFFFF#000000##FFFFFF
##765BB11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#696B7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765bb1;
/* rgb */ color: rgb(118, 91, 177);
/* oklch */ color: oklch(53.8% 0.132 296.1);
Tailwind
colors: {
  custom: {
    50: '#a08ac9',
    500: '#765bb1',
    950: '#000000',
  },
}
SCSS
$custom: #765bb1;
$custom-light: #a08ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#765bb1",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 258.837,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.13206,
    "h": 296.1
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#765BB1
secondary
#BBC7A1
accent
#CC5CA9
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #765BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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