#765BD9#765BD9

#765BD9 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.185 H 288.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#765BD9
RGBrgb(118, 91, 217)
HSLhsl(253, 62%, 60%)
HSVhsv(253, 58%, 85%)
CMYKcmyk(45.6%, 58.1%, 0%, 14.9%)
CIE-LABlab(47.42, 41.49, -61.22)
CIE-LCHlch(47.42, 73.95, 304.13°)
OKLaboklab(56.41% 0.06 -0.1747)
OKLCHoklch(56.41% 0.185 288.9)
XYZxyz(23.7331, 16.3426, 67.5361)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD9 #BED95B
analogous
#5B7FD9 #765BD9 #B55BD9
triadic
#765BD9 #D9765B #5BD976
tetradic
#765BD9 #D95B7F #BED95B #5BD9B5
square
#765BD9 #D95B7F #BED95B #5BD9B5
split-complementary
#765BD9 #D9B55B #7FD95B
monochromatic
#3C2397 #4F2EC8 #765BD9 #A08DE5 #C9BEF0

Accessibility & contrast

On white

4.92
#765BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#765BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD9#FFFFFF#000000##FFFFFF
##765BD91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#577791
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765bd9;
/* rgb */ color: rgb(118, 91, 217);
/* oklch */ color: oklch(56.4% 0.185 288.9);
Tailwind
colors: {
  custom: {
    50: '#a48ae5',
    500: '#765bd9',
    950: '#000000',
  },
}
SCSS
$custom: #765bd9;
$custom-light: #a48ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd9",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 252.857,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.18474,
    "h": 288.9
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#765BD9
secondary
#D6E0B0
accent
#CA1BA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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