#765CBB#765CBB

#765CBB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.6% C 0.144 H 293.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#765CBB
RGBrgb(118, 92, 187)
HSLhsl(256, 41%, 55%)
HSVhsv(256, 51%, 73%)
CMYKcmyk(36.9%, 50.8%, 0%, 26.7%)
CIE-LABlab(45.76, 32.49, -46.62)
CIE-LCHlch(45.76, 56.83, 304.87°)
OKLaboklab(54.57% 0.0579 -0.1319)
OKLCHoklch(54.57% 0.144 293.7)
XYZxyz(20.2657, 15.0933, 48.8496)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CBB #A1BB5C
analogous
#5C72BB #765CBB #A65CBB
triadic
#765CBB #BB765C #5CBB76
tetradic
#765CBB #BB5C72 #A1BB5C #5CBBA6
square
#765CBB #BB5C72 #A1BB5C #5CBBA6
split-complementary
#765CBB #BBA65C #72BB5C
monochromatic
#402E6F #59409A #765CBB #9A87CD #BFB2DF

Accessibility & contrast

On white

5.23
#765CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#765CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CBB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CBB#FFFFFF#000000##FFFFFF
##765CBB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#656F83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765cbb;
/* rgb */ color: rgb(118, 92, 187);
/* oklch */ color: oklch(54.6% 0.144 293.7);
Tailwind
colors: {
  custom: {
    50: '#a18bd0',
    500: '#765cbb',
    950: '#000000',
  },
}
SCSS
$custom: #765cbb;
$custom-light: #a18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#765cbb",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 256.421,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.14399,
    "h": 293.7
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#765CBB
secondary
#C2CDA5
accent
#D157B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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