#765CA7#765CA7

#765CA7 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.4% C 0.117 H 298.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#765CA7
RGBrgb(118, 92, 167)
HSLhsl(261, 30%, 51%)
HSVhsv(261, 45%, 65%)
CMYKcmyk(29.3%, 44.9%, 0%, 34.5%)
CIE-LABlab(44.65, 27.13, -36.66)
CIE-LCHlch(44.65, 45.61, 306.50°)
OKLaboklab(53.38% 0.0554 -0.1028)
OKLCHoklch(53.38% 0.117 298.3)
XYZxyz(18.2718, 14.2957, 38.3484)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765CA7 #8DA75C
analogous
#5C67A7 #765CA7 #9B5CA7
triadic
#765CA7 #A7765C #5CA776
tetradic
#765CA7 #A75C67 #8DA75C #5CA79B
square
#765CA7 #A75C67 #8DA75C #5CA79B
split-complementary
#765CA7 #A79B5C #67A75C
monochromatic
#3E3059 #5A4580 #765CA7 #9784BC #B9ABD2

Accessibility & contrast

On white

5.44
#765CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#765CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765CA7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765CA7#FFFFFF#000000##FFFFFF
##765CA71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#4B69A5
Tritanopia (blue-blind)
#6C6979
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #765ca7;
/* rgb */ color: rgb(118, 92, 167);
/* oklch */ color: oklch(53.4% 0.117 298.3);
Tailwind
colors: {
  custom: {
    50: '#9f8ac1',
    500: '#765ca7',
    950: '#000000',
  },
}
SCSS
$custom: #765ca7;
$custom-light: #9f8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#765ca7",
  "rgb": {
    "r": 118,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 260.8,
    "s": 29.88,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.11677,
    "h": 298.3
  },
  "luminance": 0.14296
}

Semantic roles & 50–950 ramp

primary
#765CA7
secondary
#B5C09F
accent
#C662A3
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #765CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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