#765CB3#765CB3

#765CB3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.1% C 0.133 H 295.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#765CB3
RGBrgb(118, 92, 179)
HSLhsl(258, 36%, 53%)
HSVhsv(258, 49%, 70%)
CMYKcmyk(34.1%, 48.6%, 0%, 29.8%)
CIE-LABlab(45.30, 30.32, -42.69)
CIE-LCHlch(45.30, 52.36, 305.38°)
OKLaboklab(54.08% 0.0571 -0.1203)
OKLCHoklch(54.08% 0.133 295.4)
XYZxyz(19.4330, 14.7602, 44.4642)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CB3 #99B35C
analogous
#5C6DB3 #765CB3 #A15CB3
triadic
#765CB3 #B3765C #5CB376
tetradic
#765CB3 #B35C6D #99B35C #5CB3A1
square
#765CB3 #B35C6D #99B35C #5CB3A1
split-complementary
#765CB3 #B3A15C #6DB35C
monochromatic
#3F2F65 #5A438F #765CB3 #9986C6 #BCAFDA

Accessibility & contrast

On white

5.31
#765CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#765CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CB3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CB3#FFFFFF#000000##FFFFFF
##765CB31.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#686D7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765cb3;
/* rgb */ color: rgb(118, 92, 179);
/* oklch */ color: oklch(54.1% 0.133 295.4);
Tailwind
colors: {
  custom: {
    50: '#a08aca',
    500: '#765cb3',
    950: '#000000',
  },
}
SCSS
$custom: #765cb3;
$custom-light: #a08aca;
$custom-dark: #000000;
JSON
{
  "hex": "#765cb3",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 257.931,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.13318,
    "h": 295.4
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#765CB3
secondary
#BDC8A3
accent
#CC5BAB
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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