#765CBD#765CBD

#765CBD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.7% C 0.147 H 293.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#765CBD
RGBrgb(118, 92, 189)
HSLhsl(256, 42%, 55%)
HSVhsv(256, 51%, 74%)
CMYKcmyk(37.6%, 51.3%, 0%, 25.9%)
CIE-LABlab(45.88, 33.04, -47.60)
CIE-LCHlch(45.88, 57.94, 304.77°)
OKLaboklab(54.7% 0.058 -0.1347)
OKLCHoklch(54.7% 0.147 293.3)
XYZxyz(20.4813, 15.1795, 49.9851)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CBD #A3BD5C
analogous
#5C73BD #765CBD #A65CBD
triadic
#765CBD #BD765C #5CBD76
tetradic
#765CBD #BD5C73 #A3BD5C #5CBDA6
square
#765CBD #BD5C73 #A3BD5C #5CBDA6
split-complementary
#765CBD #BDA65C #73BD5C
monochromatic
#402E71 #583F9C #765CBD #9B88CF #BFB3E0

Accessibility & contrast

On white

5.20
#765CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#765CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CBD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CBD#FFFFFF#000000##FFFFFF
##765CBD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#647084
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765cbd;
/* rgb */ color: rgb(118, 92, 189);
/* oklch */ color: oklch(54.7% 0.147 293.3);
Tailwind
colors: {
  custom: {
    50: '#a18bd1',
    500: '#765cbd',
    950: '#000000',
  },
}
SCSS
$custom: #765cbd;
$custom-light: #a18bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#765cbd",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 256.082,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.14668,
    "h": 293.3
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#765CBD
secondary
#C4CFA6
accent
#D256B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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