#765BBD#765BBD

#765BBD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.5% C 0.148 H 293.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#765BBD
RGBrgb(118, 91, 189)
HSLhsl(257, 43%, 55%)
HSVhsv(257, 52%, 74%)
CMYKcmyk(37.6%, 51.9%, 0%, 25.9%)
CIE-LABlab(45.64, 33.63, -47.97)
CIE-LCHlch(45.64, 58.59, 305.03°)
OKLaboklab(54.52% 0.0593 -0.1358)
OKLCHoklch(54.52% 0.148 293.6)
XYZxyz(20.3952, 15.0074, 49.9564)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765BBD #A2BD5B
analogous
#5B71BD #765BBD #A75BBD
triadic
#765BBD #BD765B #5BBD76
tetradic
#765BBD #BD5B71 #A2BD5B #5BBDA7
square
#765BBD #BD5B71 #A2BD5B #5BBDA7
split-complementary
#765BBD #BDA75B #71BD5B
monochromatic
#402D70 #583F9C #765BBD #9A87CF #BFB2E0

Accessibility & contrast

On white

5.25
#765BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#765BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765BBD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765BBD#FFFFFF#000000##FFFFFF
##765BBD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#396ABB
Tritanopia (blue-blind)
#646F83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765bbd;
/* rgb */ color: rgb(118, 91, 189);
/* oklch */ color: oklch(54.5% 0.148 293.6);
Tailwind
colors: {
  custom: {
    50: '#a18ad1',
    500: '#765bbd',
    950: '#000000',
  },
}
SCSS
$custom: #765bbd;
$custom-light: #a18ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#765bbd",
  "rgb": {
    "r": 118,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 256.531,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.1482,
    "h": 293.6
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#765BBD
secondary
#C3CFA5
accent
#D255B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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