#765BC7#765BC7

#765BC7 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.2% C 0.161 H 291.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#765BC7
RGBrgb(118, 91, 199)
HSLhsl(255, 49%, 57%)
HSVhsv(255, 54%, 78%)
CMYKcmyk(40.7%, 54.3%, 0%, 22%)
CIE-LABlab(46.25, 36.40, -52.78)
CIE-LCHlch(46.25, 64.12, 304.59°)
OKLaboklab(55.17% 0.0598 -0.1499)
OKLCHoklch(55.17% 0.161 291.8)
XYZxyz(21.5183, 15.4566, 55.8714)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC7 #ACC75B
analogous
#5B76C7 #765BC7 #AC5BC7
triadic
#765BC7 #C7765B #5BC776
tetradic
#765BC7 #C75B76 #ACC75B #5BC7AC
square
#765BC7 #C75B76 #ACC75B #5BC7AC
split-complementary
#765BC7 #C7AC5B #76C75B
monochromatic
#3F2B7D #563AAB #765BC7 #9C89D7 #C2B6E6

Accessibility & contrast

On white

5.13
#765BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#765BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BC7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC7#FFFFFF#000000##FFFFFF
##765BC71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#2D6BC5
Tritanopia (blue-blind)
#607288
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #765bc7;
/* rgb */ color: rgb(118, 91, 199);
/* oklch */ color: oklch(55.2% 0.161 291.8);
Tailwind
colors: {
  custom: {
    50: '#a28ad9',
    500: '#765bc7',
    950: '#000000',
  },
}
SCSS
$custom: #765bc7;
$custom-light: #a28ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc7",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 255,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.16145,
    "h": 291.8
  },
  "luminance": 0.15457
}

Semantic roles & 50–950 ramp

primary
#765BC7
secondary
#CAD5A9
accent
#D94FB6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #765BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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