#765EAA#765EAA

#765EAA is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.9% C 0.118 H 296.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#765EAA
RGBrgb(118, 94, 170)
HSLhsl(259, 31%, 52%)
HSVhsv(259, 45%, 67%)
CMYKcmyk(30.6%, 44.7%, 0%, 33.3%)
CIE-LABlab(45.30, 26.72, -37.41)
CIE-LCHlch(45.30, 45.97, 305.53°)
OKLaboklab(53.92% 0.0531 -0.1049)
OKLCHoklch(53.92% 0.118 296.8)
XYZxyz(18.7279, 14.7590, 39.8845)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765EAA #92AA5E
analogous
#5E6CAA #765EAA #9C5EAA
triadic
#765EAA #AA765E #5EAA76
tetradic
#765EAA #AA5E6C #92AA5E #5EAA9C
square
#765EAA #AA5E6C #92AA5E #5EAA9C
split-complementary
#765EAA #AA9C5E #6CAA5E
monochromatic
#3F315D #5A4685 #765EAA #9886BF #BAAED4

Accessibility & contrast

On white

5.31
#765EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#765EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765EAA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765EAA#FFFFFF#000000##FFFFFF
##765EAA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#6B6C7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #765eaa;
/* rgb */ color: rgb(118, 94, 170);
/* oklch */ color: oklch(53.9% 0.118 296.8);
Tailwind
colors: {
  custom: {
    50: '#9f8cc3',
    500: '#765eaa',
    950: '#000000',
  },
}
SCSS
$custom: #765eaa;
$custom-light: #9f8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#765eaa",
  "rgb": {
    "r": 118,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 258.947,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53923,
    "c": 0.11759,
    "h": 296.8
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#765EAA
secondary
#B8C3A1
accent
#C761A7
background
#FAF8FC
surface
#F3F0F8
border
#CDCBD1
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #765EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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