#765794#765794

#765794 is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.4% C 0.100 H 306.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#765794
RGBrgb(118, 87, 148)
HSLhsl(270, 26%, 46%)
HSVhsv(270, 41%, 58%)
CMYKcmyk(20.3%, 41.2%, 0%, 42%)
CIE-LABlab(42.47, 25.33, -28.79)
CIE-LCHlch(42.47, 38.35, 311.34°)
OKLaboklab(51.42% 0.0594 -0.0799)
OKLCHoklch(51.42% 0.1 306.6)
XYZxyz(16.2236, 12.8062, 29.6284)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765794 #759457
analogous
#575794 #765794 #945793
triadic
#765794 #947657 #579476
tetradic
#765794 #945757 #759457 #579394
square
#765794 #945757 #759457 #579394
split-complementary
#765794 #939457 #579457
monochromatic
#392A47 #57406D #765794 #9578B0 #B39FC7

Accessibility & contrast

On white

5.90
#765794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#765794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765794
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765794#FFFFFF#000000##FFFFFF
##7657941.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496396
Deuteranopia (green-blind)
#506592
Tritanopia (blue-blind)
#72606E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765794;
/* rgb */ color: rgb(118, 87, 148);
/* oklch */ color: oklch(51.4% 0.100 306.6);
Tailwind
colors: {
  custom: {
    50: '#9f87b3',
    500: '#765794',
    950: '#000000',
  },
}
SCSS
$custom: #765794;
$custom-light: #9f87b3;
$custom-dark: #000000;
JSON
{
  "hex": "#765794",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 270.492,
    "s": 25.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.09958,
    "h": 306.6
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#765794
secondary
#A3B493
accent
#C26593
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765794

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

Preview Lab → · Contrast checker → · Palette generator →

#765794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva