#765BD5#765BD5

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

Color values

HEX#765BD5
RGBrgb(118, 91, 213)
HSLhsl(253, 59%, 60%)
HSVhsv(253, 57%, 84%)
CMYKcmyk(44.6%, 57.3%, 0%, 16.5%)
CIE-LABlab(47.15, 40.35, -59.37)
CIE-LCHlch(47.15, 71.78, 304.20°)
OKLaboklab(56.13% 0.06 -0.1693)
OKLCHoklch(56.13% 0.18 289.5)
XYZxyz(23.2192, 16.1370, 64.8292)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BD5 #BAD55B
analogous
#5B7DD5 #765BD5 #B35BD5
triadic
#765BD5 #D5765B #5BD576
tetradic
#765BD5 #D55B7D #BAD55B #5BD5B3
square
#765BD5 #D55B7D #BAD55B #5BD5B3
split-complementary
#765BD5 #D5B35B #7DD55B
monochromatic
#3D2591 #5132C1 #765BD5 #9F8CE1 #C7BCEE

Accessibility & contrast

On white

4.97
#765BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#765BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BD5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BD5#FFFFFF#000000##FFFFFF
##765BD51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0572D9
Deuteranopia (green-blind)
#0F6DD2
Tritanopia (blue-blind)
#59768F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #765bd5;
/* rgb */ color: rgb(118, 91, 213);
/* oklch */ color: oklch(56.1% 0.180 289.5);
Tailwind
colors: {
  custom: {
    50: '#a48ae3',
    500: '#765bd5',
    950: '#000000',
  },
}
SCSS
$custom: #765bd5;
$custom-light: #a48ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#765bd5",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 253.279,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.17962,
    "h": 289.5
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#765BD5
secondary
#D3DEAE
accent
#E245C0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #765BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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