#765BC4#765BC4

#765BC4 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.158 H 292.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#765BC4
RGBrgb(118, 91, 196)
HSLhsl(255, 47%, 56%)
HSVhsv(255, 54%, 77%)
CMYKcmyk(39.8%, 53.6%, 0%, 23.1%)
CIE-LABlab(46.07, 35.57, -51.35)
CIE-LCHlch(46.07, 62.47, 304.71°)
OKLaboklab(54.97% 0.0597 -0.1457)
OKLCHoklch(54.97% 0.158 292.3)
XYZxyz(21.1734, 15.3187, 54.0551)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BC4 #A9C45B
analogous
#5B75C4 #765BC4 #AB5BC4
triadic
#765BC4 #C4765B #5BC476
tetradic
#765BC4 #C45B75 #A9C45B #5BC4AB
square
#765BC4 #C45B75 #A9C45B #5BC4AB
split-complementary
#765BC4 #C4AB5B #75C45B
monochromatic
#3F2C79 #573CA6 #765BC4 #9C88D4 #C1B5E4

Accessibility & contrast

On white

5.17
#765BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#765BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BC4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BC4#FFFFFF#000000##FFFFFF
##765BC41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC8
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#617187
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765bc4;
/* rgb */ color: rgb(118, 91, 196);
/* oklch */ color: oklch(55.0% 0.158 292.3);
Tailwind
colors: {
  custom: {
    50: '#a28ad6',
    500: '#765bc4',
    950: '#000000',
  },
}
SCSS
$custom: #765bc4;
$custom-light: #a28ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#765bc4",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 255.429,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.1575,
    "h": 292.3
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#765BC4
secondary
#C8D3A8
accent
#D751B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #765BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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