#765FB4#765FB4

#765FB4 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.7% C 0.130 H 294.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#765FB4
RGBrgb(118, 95, 180)
HSLhsl(256, 36%, 54%)
HSVhsv(256, 47%, 71%)
CMYKcmyk(34.4%, 47.2%, 0%, 29.4%)
CIE-LABlab(46.08, 28.79, -42.03)
CIE-LCHlch(46.08, 50.95, 304.41°)
OKLaboklab(54.69% 0.0531 -0.1184)
OKLCHoklch(54.69% 0.13 294.2)
XYZxyz(19.7995, 15.3309, 45.0872)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FB4 #9DB45F
analogous
#5F73B4 #765FB4 #A15FB4
triadic
#765FB4 #B4765F #5FB476
tetradic
#765FB4 #B45F73 #9DB45F #5FB4A1
square
#765FB4 #B45F73 #9DB45F #5FB4A1
split-complementary
#765FB4 #B4A15F #73B45F
monochromatic
#403168 #594492 #765FB4 #9A89C8 #BDB2DB

Accessibility & contrast

On white

5.16
#765FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#765FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FB4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FB4#FFFFFF#000000##FFFFFF
##765FB41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426EB7
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#686F81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #765fb4;
/* rgb */ color: rgb(118, 95, 180);
/* oklch */ color: oklch(54.7% 0.130 294.2);
Tailwind
colors: {
  custom: {
    50: '#a08dcb',
    500: '#765fb4',
    950: '#000000',
  },
}
SCSS
$custom: #765fb4;
$custom-light: #a08dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#765fb4",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 256.235,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.12979,
    "h": 294.2
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#765FB4
secondary
#C0CAA5
accent
#CC5CAE
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #765FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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