#765BC6#765BC6

#765BC6 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.1% C 0.160 H 291.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#765BC6
RGBrgb(118, 91, 198)
HSLhsl(255, 48%, 57%)
HSVhsv(255, 54%, 78%)
CMYKcmyk(40.4%, 54%, 0%, 22.4%)
CIE-LABlab(46.19, 36.13, -52.31)
CIE-LCHlch(46.19, 63.57, 304.63°)
OKLaboklab(55.11% 0.0598 -0.1485)
OKLCHoklch(55.11% 0.16 291.9)
XYZxyz(21.4026, 15.4103, 55.2620)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC6 #ABC65B
analogous
#5B76C6 #765BC6 #AC5BC6
triadic
#765BC6 #C6765B #5BC676
tetradic
#765BC6 #C65B76 #ABC65B #5BC6AC
square
#765BC6 #C65B76 #ABC65B #5BC6AC
split-complementary
#765BC6 #C6AC5B #76C65B
monochromatic
#3F2B7C #573BA9 #765BC6 #9C88D6 #C2B6E6

Accessibility & contrast

On white

5.14
#765BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#765BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BC6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC6#FFFFFF#000000##FFFFFF
##765BC61.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296FCA
Deuteranopia (green-blind)
#2E6BC4
Tritanopia (blue-blind)
#617188
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765bc6;
/* rgb */ color: rgb(118, 91, 198);
/* oklch */ color: oklch(55.1% 0.160 291.9);
Tailwind
colors: {
  custom: {
    50: '#a28ad8',
    500: '#765bc6',
    950: '#000000',
  },
}
SCSS
$custom: #765bc6;
$custom-light: #a28ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc6",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 255.14,
    "s": 48.416,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.16013,
    "h": 291.9
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#765BC6
secondary
#C9D4A9
accent
#D850B6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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