#765BDB#765BDB

#765BDB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.5% C 0.187 H 288.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#765BDB
RGBrgb(118, 91, 219)
HSLhsl(253, 64%, 61%)
HSVhsv(253, 58%, 86%)
CMYKcmyk(46.1%, 58.4%, 0%, 14.1%)
CIE-LABlab(47.56, 42.06, -62.14)
CIE-LCHlch(47.56, 75.03, 304.09°)
OKLaboklab(56.55% 0.0599 -0.1774)
OKLCHoklch(56.55% 0.187 288.7)
XYZxyz(23.9948, 16.4472, 68.9144)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BDB #C0DB5B
analogous
#5B80DB #765BDB #B65BDB
triadic
#765BDB #DB765B #5BDB76
tetradic
#765BDB #DB5B80 #C0DB5B #5BDBB6
square
#765BDB #DB5B80 #C0DB5B #5BDBB6
split-complementary
#765BDB #DBB65B #80DB5B
monochromatic
#3B229A #4E2DCC #765BDB #A08DE6 #CABFF1

Accessibility & contrast

On white

4.90
#765BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#765BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BDB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BDB#FFFFFF#000000##FFFFFF
##765BDB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#567892
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #765bdb;
/* rgb */ color: rgb(118, 91, 219);
/* oklch */ color: oklch(56.5% 0.187 288.7);
Tailwind
colors: {
  custom: {
    50: '#a48ae7',
    500: '#765bdb',
    950: '#000000',
  },
}
SCSS
$custom: #765bdb;
$custom-light: #a48ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#765bdb",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 252.656,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.18729,
    "h": 288.7
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#765BDB
secondary
#D7E1B1
accent
#CC1AA6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #765BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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