#765BDF#765BDF

#765BDF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.8% C 0.192 H 288.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#765BDF
RGBrgb(118, 91, 223)
HSLhsl(252, 67%, 62%)
HSVhsv(252, 59%, 87%)
CMYKcmyk(47.1%, 59.2%, 0%, 12.5%)
CIE-LABlab(47.83, 43.20, -63.97)
CIE-LCHlch(47.83, 77.19, 304.03°)
OKLaboklab(56.84% 0.0598 -0.1828)
OKLCHoklch(56.84% 0.192 288.1)
XYZxyz(24.5277, 16.6604, 71.7211)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BDF #C4DF5B
analogous
#5B82DF #765BDF #B85BDF
triadic
#765BDF #DF765B #5BDF76
tetradic
#765BDF #DF5B82 #C4DF5B #5BDFB8
square
#765BDF #DF5B82 #C4DF5B #5BDFB8
split-complementary
#765BDF #DFB85B #82DF5B
monochromatic
#3A1FA0 #4C29D4 #765BDF #A18EE9 #CCC1F3

Accessibility & contrast

On white

4.85
#765BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#765BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BDF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BDF#FFFFFF#000000##FFFFFF
##765BDF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#537994
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765bdf;
/* rgb */ color: rgb(118, 91, 223);
/* oklch */ color: oklch(56.8% 0.192 288.1);
Tailwind
colors: {
  custom: {
    50: '#a58aea',
    500: '#765bdf',
    950: '#000000',
  },
}
SCSS
$custom: #765bdf;
$custom-light: #a58aea;
$custom-dark: #000000;
JSON
{
  "hex": "#765bdf",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 252.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.19236,
    "h": 288.1
  },
  "luminance": 0.16661
}

Semantic roles & 50–950 ramp

primary
#765BDF
secondary
#D9E3B2
accent
#CF16A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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