#765CBE#765CBE

#765CBE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.148 H 293.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#765CBE
RGBrgb(118, 92, 190)
HSLhsl(256, 43%, 55%)
HSVhsv(256, 52%, 75%)
CMYKcmyk(37.9%, 51.6%, 0%, 25.5%)
CIE-LABlab(45.94, 33.32, -48.08)
CIE-LCHlch(45.94, 58.50, 304.72°)
OKLaboklab(54.76% 0.0581 -0.1361)
OKLCHoklch(54.76% 0.148 293.1)
XYZxyz(20.5902, 15.2231, 50.5587)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CBE #A4BE5C
analogous
#5C73BE #765CBE #A75CBE
triadic
#765CBE #BE765C #5CBE76
tetradic
#765CBE #BE5C73 #A4BE5C #5CBEA7
square
#765CBE #BE5C73 #A4BE5C #5CBEA7
split-complementary
#765CBE #BEA75C #73BE5C
monochromatic
#402E72 #583F9E #765CBE #9B88CF #C0B4E1

Accessibility & contrast

On white

5.19
#765CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765CBE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CBE#FFFFFF#000000##FFFFFF
##765CBE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#647084
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765cbe;
/* rgb */ color: rgb(118, 92, 190);
/* oklch */ color: oklch(54.8% 0.148 293.1);
Tailwind
colors: {
  custom: {
    50: '#a18bd2',
    500: '#765cbe',
    950: '#000000',
  },
}
SCSS
$custom: #765cbe;
$custom-light: #a18bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#765cbe",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 255.918,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.14802,
    "h": 293.1
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#765CBE
secondary
#C5CFA6
accent
#D355B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #765CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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