#765DBB#765DBB

#765DBB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.8% C 0.142 H 293.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#765DBB
RGBrgb(118, 93, 187)
HSLhsl(256, 41%, 55%)
HSVhsv(256, 50%, 73%)
CMYKcmyk(36.9%, 50.3%, 0%, 26.7%)
CIE-LABlab(46.00, 31.90, -46.24)
CIE-LCHlch(46.00, 56.18, 304.60°)
OKLaboklab(54.75% 0.0565 -0.1307)
OKLCHoklch(54.75% 0.142 293.4)
XYZxyz(20.3529, 15.2677, 48.8787)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DBB #A2BB5D
analogous
#5D73BB #765DBB #A55DBB
triadic
#765DBB #BB765D #5DBB76
tetradic
#765DBB #BB5D73 #A2BB5D #5DBBA5
square
#765DBB #BB5D73 #A2BB5D #5DBBA5
split-complementary
#765DBB #BBA55D #73BB5D
monochromatic
#402F6F #58419A #765DBB #9A88CD #BFB3DF

Accessibility & contrast

On white

5.18
#765DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#765DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765DBB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DBB#FFFFFF#000000##FFFFFF
##765DBB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBE
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#657083
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765dbb;
/* rgb */ color: rgb(118, 93, 187);
/* oklch */ color: oklch(54.8% 0.142 293.4);
Tailwind
colors: {
  custom: {
    50: '#a18bd0',
    500: '#765dbb',
    950: '#000000',
  },
}
SCSS
$custom: #765dbb;
$custom-light: #a18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#765dbb",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 255.957,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.14245,
    "h": 293.4
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#765DBB
secondary
#C3CEA6
accent
#D157B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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