#765DBA#765DBA

#765DBA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.7% C 0.141 H 293.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#765DBA
RGBrgb(118, 93, 186)
HSLhsl(256, 40%, 55%)
HSVhsv(256, 50%, 73%)
CMYKcmyk(36.6%, 50%, 0%, 27.1%)
CIE-LABlab(45.94, 31.62, -45.75)
CIE-LCHlch(45.94, 55.62, 304.65°)
OKLaboklab(54.69% 0.0565 -0.1293)
OKLCHoklch(54.69% 0.141 293.6)
XYZxyz(20.2462, 15.2250, 48.3169)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765DBA #A1BA5D
analogous
#5D73BA #765DBA #A55DBA
triadic
#765DBA #BA765D #5DBA76
tetradic
#765DBA #BA5D73 #A1BA5D #5DBAA5
square
#765DBA #BA5D73 #A1BA5D #5DBAA5
split-complementary
#765DBA #BAA55D #73BA5D
monochromatic
#402F6E #594199 #765DBA #9A88CC #BFB3DF

Accessibility & contrast

On white

5.19
#765DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765DBA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765DBA#FFFFFF#000000##FFFFFF
##765DBA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#656F83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765dba;
/* rgb */ color: rgb(118, 93, 186);
/* oklch */ color: oklch(54.7% 0.141 293.6);
Tailwind
colors: {
  custom: {
    50: '#a18bcf',
    500: '#765dba',
    950: '#000000',
  },
}
SCSS
$custom: #765dba;
$custom-light: #a18bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#765dba",
  "rgb": {
    "r": 118,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 256.129,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.1411,
    "h": 293.6
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#765DBA
secondary
#C2CDA6
accent
#D058B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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