#765EB4#765EB4

#765EB4 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.5% C 0.131 H 294.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#765EB4
RGBrgb(118, 94, 180)
HSLhsl(257, 36%, 54%)
HSVhsv(257, 48%, 71%)
CMYKcmyk(34.4%, 47.8%, 0%, 29.4%)
CIE-LABlab(45.84, 29.39, -42.42)
CIE-LCHlch(45.84, 51.60, 304.72°)
OKLaboklab(54.5% 0.0545 -0.1195)
OKLCHoklch(54.5% 0.131 294.5)
XYZxyz(19.7100, 15.1519, 45.0573)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EB4 #9CB45E
analogous
#5E71B4 #765EB4 #A15EB4
triadic
#765EB4 #B4765E #5EB476
tetradic
#765EB4 #B45E71 #9CB45E #5EB4A1
square
#765EB4 #B45E71 #9CB45E #5EB4A1
split-complementary
#765EB4 #B4A15E #71B45E
monochromatic
#403067 #594491 #765EB4 #9A88C7 #BDB1DB

Accessibility & contrast

On white

5.21
#765EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#765EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EB4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EB4#FFFFFF#000000##FFFFFF
##765EB41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#456BB2
Tritanopia (blue-blind)
#686E80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765eb4;
/* rgb */ color: rgb(118, 94, 180);
/* oklch */ color: oklch(54.5% 0.131 294.5);
Tailwind
colors: {
  custom: {
    50: '#a08ccb',
    500: '#765eb4',
    950: '#000000',
  },
}
SCSS
$custom: #765eb4;
$custom-light: #a08ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#765eb4",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 256.744,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.13137,
    "h": 294.5
  },
  "luminance": 0.15152
}

Semantic roles & 50–950 ramp

primary
#765EB4
secondary
#BFC9A5
accent
#CC5BAD
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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