#765BC5#765BC5

#765BC5 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.159 H 292.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#765BC5
RGBrgb(118, 91, 197)
HSLhsl(255, 48%, 56%)
HSVhsv(255, 54%, 77%)
CMYKcmyk(40.1%, 53.8%, 0%, 22.7%)
CIE-LABlab(46.13, 35.85, -51.83)
CIE-LCHlch(46.13, 63.02, 304.67°)
OKLaboklab(55.04% 0.0598 -0.1471)
OKLCHoklch(55.04% 0.159 292.1)
XYZxyz(21.2876, 15.3644, 54.6565)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC5 #AAC55B
analogous
#5B75C5 #765BC5 #AB5BC5
triadic
#765BC5 #C5765B #5BC576
tetradic
#765BC5 #C55B75 #AAC55B #5BC5AB
square
#765BC5 #C55B75 #AAC55B #5BC5AB
split-complementary
#765BC5 #C5AB5B #75C55B
monochromatic
#3F2B7A #573BA8 #765BC5 #9C88D5 #C2B5E5

Accessibility & contrast

On white

5.16
#765BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#765BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BC5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC5#FFFFFF#000000##FFFFFF
##765BC51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FC9
Deuteranopia (green-blind)
#306BC3
Tritanopia (blue-blind)
#617187
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765bc5;
/* rgb */ color: rgb(118, 91, 197);
/* oklch */ color: oklch(55.0% 0.159 292.1);
Tailwind
colors: {
  custom: {
    50: '#a28ad7',
    500: '#765bc5',
    950: '#000000',
  },
}
SCSS
$custom: #765bc5;
$custom-light: #a28ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc5",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 255.283,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.15881,
    "h": 292.1
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#765BC5
secondary
#C9D4A8
accent
#D750B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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