#765AA4#765AA4

#765AA4 is a mid, moderate violet. Relative luminance 0.138; OKLCH L 52.8% C 0.116 H 299.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#765AA4
RGBrgb(118, 90, 164)
HSLhsl(263, 29%, 50%)
HSVhsv(263, 45%, 64%)
CMYKcmyk(28%, 45.1%, 0%, 35.7%)
CIE-LABlab(44.01, 27.55, -35.91)
CIE-LCHlch(44.01, 45.26, 307.49°)
OKLaboklab(52.85% 0.0578 -0.1006)
OKLCHoklch(52.85% 0.116 299.9)
XYZxyz(17.8267, 13.8441, 36.8478)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AA4 #88A45A
analogous
#5A63A4 #765AA4 #9B5AA4
triadic
#765AA4 #A4765A #5AA476
tetradic
#765AA4 #A45A63 #88A45A #5AA49B
square
#765AA4 #A45A63 #88A45A #5AA49B
split-complementary
#765AA4 #A49B5A #63A45A
monochromatic
#3D2F55 #5A447C #765AA4 #9781BA #B7A9D0

Accessibility & contrast

On white

5.57
#765AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#765AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AA4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AA4#FFFFFF#000000##FFFFFF
##765AA41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4568A7
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#6D6777
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #765aa4;
/* rgb */ color: rgb(118, 90, 164);
/* oklch */ color: oklch(52.8% 0.116 299.9);
Tailwind
colors: {
  custom: {
    50: '#9f89bf',
    500: '#765aa4',
    950: '#000000',
  },
}
SCSS
$custom: #765aa4;
$custom-light: #9f89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#765aa4",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 262.703,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.11602,
    "h": 299.9
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#765AA4
secondary
#B1BE9C
accent
#C562A0
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0B12
muted
#7E7C81

Preview Lab

Preview with #765AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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