#765EB0#765EB0

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

Color values

HEX#765EB0
RGBrgb(118, 94, 176)
HSLhsl(258, 34%, 53%)
HSVhsv(258, 47%, 69%)
CMYKcmyk(33%, 46.6%, 0%, 31%)
CIE-LABlab(45.62, 28.31, -40.42)
CIE-LCHlch(45.62, 49.35, 305.01°)
OKLaboklab(54.27% 0.054 -0.1137)
OKLCHoklch(54.27% 0.126 295.4)
XYZxyz(19.3084, 14.9912, 42.9422)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB0 #98B05E
analogous
#5E6FB0 #765EB0 #9F5EB0
triadic
#765EB0 #B0765E #5EB076
tetradic
#765EB0 #B05E6F #98B05E #5EB09F
square
#765EB0 #B05E6F #98B05E #5EB09F
split-complementary
#765EB0 #B09F5E #6FB05E
monochromatic
#3F3163 #5A458C #765EB0 #9987C4 #BCB0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##765EB0#FFFFFF#000000##FFFFFF
##765EB01.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)
#436DB3
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#696D7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765eb0;
/* rgb */ color: rgb(118, 94, 176);
/* oklch */ color: oklch(54.3% 0.126 295.4);
Tailwind
colors: {
  custom: {
    50: '#a08cc8',
    500: '#765eb0',
    950: '#000000',
  },
}
SCSS
$custom: #765eb0;
$custom-light: #a08cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb0",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 257.561,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.12588,
    "h": 295.4
  },
  "luminance": 0.14992
}

Semantic roles & 50–950 ramp

primary
#765EB0
secondary
#BCC7A3
accent
#CA5EAA
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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