#765BD4#765BD4

#765BD4 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.1% C 0.178 H 289.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#765BD4
RGBrgb(118, 91, 212)
HSLhsl(253, 58%, 59%)
HSVhsv(253, 57%, 83%)
CMYKcmyk(44.3%, 57.1%, 0%, 16.9%)
CIE-LABlab(47.09, 40.07, -58.90)
CIE-LCHlch(47.09, 71.24, 304.22°)
OKLaboklab(56.06% 0.06 -0.1679)
OKLCHoklch(56.06% 0.178 289.7)
XYZxyz(23.0926, 16.0864, 64.1628)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD4 #B9D45B
analogous
#5B7DD4 #765BD4 #B25BD4
triadic
#765BD4 #D4765B #5BD476
tetradic
#765BD4 #D45B7D #B9D45B #5BD4B2
square
#765BD4 #D45B7D #B9D45B #5BD4B2
split-complementary
#765BD4 #D4B25B #7DD45B
monochromatic
#3D268F #5232C0 #765BD4 #9F8BE1 #C7BCED

Accessibility & contrast

On white

4.98
#765BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#765BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD4#FFFFFF#000000##FFFFFF
##765BD41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0972D8
Deuteranopia (green-blind)
#136DD1
Tritanopia (blue-blind)
#5A768F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765bd4;
/* rgb */ color: rgb(118, 91, 212);
/* oklch */ color: oklch(56.1% 0.178 289.7);
Tailwind
colors: {
  custom: {
    50: '#a38ae2',
    500: '#765bd4',
    950: '#000000',
  },
}
SCSS
$custom: #765bd4;
$custom-light: #a38ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd4",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 253.388,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.17834,
    "h": 289.7
  },
  "luminance": 0.16087
}

Semantic roles & 50–950 ramp

primary
#765BD4
secondary
#D2DDAE
accent
#E246BF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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