#765BAC#765BAC

#765BAC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.5% C 0.125 H 297.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#765BAC
RGBrgb(118, 91, 172)
HSLhsl(260, 33%, 52%)
HSVhsv(260, 47%, 67%)
CMYKcmyk(31.4%, 47.1%, 0%, 32.5%)
CIE-LABlab(44.68, 29.04, -39.57)
CIE-LCHlch(44.68, 49.09, 306.27°)
OKLaboklab(53.49% 0.0576 -0.1112)
OKLCHoklch(53.49% 0.125 297.4)
XYZxyz(18.6569, 14.3121, 40.8013)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BAC #91AC5B
analogous
#5B69AC #765BAC #9F5BAC
triadic
#765BAC #AC765B #5BAC76
tetradic
#765BAC #AC5B69 #91AC5B #5BAC9F
square
#765BAC #AC5B69 #91AC5B #5BAC9F
split-complementary
#765BAC #AC9F5B #69AC5B
monochromatic
#3F2F5D #5A4486 #765BAC #9884C1 #BAACD5

Accessibility & contrast

On white

5.44
#765BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#765BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BAC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BAC#FFFFFF#000000##FFFFFF
##765BAC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#6B6A7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765bac;
/* rgb */ color: rgb(118, 91, 172);
/* oklch */ color: oklch(53.5% 0.125 297.4);
Tailwind
colors: {
  custom: {
    50: '#a08ac5',
    500: '#765bac',
    950: '#000000',
  },
}
SCSS
$custom: #765bac;
$custom-light: #a08ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#765bac",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 172
  },
  "hsl": {
    "h": 260,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53488,
    "c": 0.12527,
    "h": 297.4
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#765BAC
secondary
#B7C3A0
accent
#C95FA6
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #765BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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