#765AAA#765AAA

#765AAA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.2% C 0.124 H 298.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#765AAA
RGBrgb(118, 90, 170)
HSLhsl(261, 32%, 51%)
HSVhsv(261, 47%, 67%)
CMYKcmyk(30.6%, 47.1%, 0%, 33.3%)
CIE-LABlab(44.33, 29.11, -38.95)
CIE-LCHlch(44.33, 48.63, 306.78°)
OKLaboklab(53.19% 0.0587 -0.1094)
OKLCHoklch(53.19% 0.124 298.2)
XYZxyz(18.3813, 14.0660, 39.7690)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765AAA #8EAA5A
analogous
#5A66AA #765AAA #9E5AAA
triadic
#765AAA #AA765A #5AAA76
tetradic
#765AAA #AA5A66 #8EAA5A #5AAA9E
square
#765AAA #AA5A66 #8EAA5A #5AAA9E
split-complementary
#765AAA #AA9E5A #66AA5A
monochromatic
#3E2F5B #5A4483 #765AAA #9882BF #B9ABD4

Accessibility & contrast

On white

5.51
#765AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#765AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765AAA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765AAA#FFFFFF#000000##FFFFFF
##765AAA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#6B697A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #765aaa;
/* rgb */ color: rgb(118, 90, 170);
/* oklch */ color: oklch(53.2% 0.124 298.2);
Tailwind
colors: {
  custom: {
    50: '#a089c4',
    500: '#765aaa',
    950: '#000000',
  },
}
SCSS
$custom: #765aaa;
$custom-light: #a089c4;
$custom-dark: #000000;
JSON
{
  "hex": "#765aaa",
  "rgb": {
    "r": 118,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 261,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.12419,
    "h": 298.2
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#765AAA
secondary
#B5C29E
accent
#C860A4
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0B12
muted
#7F7C81

Preview Lab

Preview with #765AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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