#765BD3#765BD3

#765BD3 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.177 H 289.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#765BD3
RGBrgb(118, 91, 211)
HSLhsl(254, 58%, 59%)
HSVhsv(254, 57%, 83%)
CMYKcmyk(44.1%, 56.9%, 0%, 17.3%)
CIE-LABlab(47.02, 39.78, -58.44)
CIE-LCHlch(47.02, 70.69, 304.25°)
OKLaboklab(55.99% 0.06 -0.1666)
OKLCHoklch(55.99% 0.177 289.8)
XYZxyz(22.9669, 16.0361, 63.5006)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD3 #B8D35B
analogous
#5B7CD3 #765BD3 #B25BD3
triadic
#765BD3 #D3765B #5BD376
tetradic
#765BD3 #D35B7C #B8D35B #5BD3B2
square
#765BD3 #D35B7C #B8D35B #5BD3B2
split-complementary
#765BD3 #D3B25B #7CD35B
monochromatic
#3D268E #5233BE #765BD3 #9E8BE0 #C7BCED

Accessibility & contrast

On white

4.99
#765BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#765BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD3#FFFFFF#000000##FFFFFF
##765BD31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E72D7
Deuteranopia (green-blind)
#166DD0
Tritanopia (blue-blind)
#5A758E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #765bd3;
/* rgb */ color: rgb(118, 91, 211);
/* oklch */ color: oklch(56.0% 0.177 289.8);
Tailwind
colors: {
  custom: {
    50: '#a38ae1',
    500: '#765bd3',
    950: '#000000',
  },
}
SCSS
$custom: #765bd3;
$custom-light: #a38ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd3",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 253.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.17705,
    "h": 289.8
  },
  "luminance": 0.16037
}

Semantic roles & 50–950 ramp

primary
#765BD3
secondary
#D2DCAD
accent
#E147BE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #765BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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