#765FAA#765FAA

#765FAA is a mid, moderate violet. Relative luminance 0.149; OKLCH L 54.1% C 0.116 H 296.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#765FAA
RGBrgb(118, 95, 170)
HSLhsl(258, 31%, 52%)
HSVhsv(258, 44%, 67%)
CMYKcmyk(30.6%, 44.1%, 0%, 33.3%)
CIE-LABlab(45.55, 26.12, -37.02)
CIE-LCHlch(45.55, 45.30, 305.20°)
OKLaboklab(54.11% 0.0517 -0.1038)
OKLCHoklch(54.11% 0.116 296.5)
XYZxyz(18.8174, 14.9380, 39.9144)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765FAA #93AA5F
analogous
#5F6EAA #765FAA #9C5FAA
triadic
#765FAA #AA765F #5FAA76
tetradic
#765FAA #AA5F6E #93AA5F #5FAA9C
square
#765FAA #AA5F6E #93AA5F #5FAA9C
split-complementary
#765FAA #AA9C5F #6EAA5F
monochromatic
#3F315D #5A4785 #765FAA #9887BF #BAAFD4

Accessibility & contrast

On white

5.27
#765FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#765FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765FAA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765FAA#FFFFFF#000000##FFFFFF
##765FAA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#6B6D7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #765faa;
/* rgb */ color: rgb(118, 95, 170);
/* oklch */ color: oklch(54.1% 0.116 296.5);
Tailwind
colors: {
  custom: {
    50: '#9f8cc3',
    500: '#765faa',
    950: '#000000',
  },
}
SCSS
$custom: #765faa;
$custom-light: #9f8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#765faa",
  "rgb": {
    "r": 118,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 258.4,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.11594,
    "h": 296.5
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#765FAA
secondary
#B9C3A2
accent
#C761A8
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #765FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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