#765793#765793

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

Color values

HEX#765793
RGBrgb(118, 87, 147)
HSLhsl(271, 26%, 46%)
HSVhsv(271, 41%, 58%)
CMYKcmyk(19.7%, 40.8%, 0%, 42.4%)
CIE-LABlab(42.42, 25.09, -28.27)
CIE-LCHlch(42.42, 37.80, 311.59°)
OKLaboklab(51.37% 0.0592 -0.0784)
OKLCHoklch(51.37% 0.098 307)
XYZxyz(16.1448, 12.7747, 29.2133)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765793 #749357
analogous
#585793 #765793 #935792
triadic
#765793 #937657 #579376
tetradic
#765793 #935857 #749357 #579293
square
#765793 #935857 #749357 #579293
split-complementary
#765793 #929357 #579358
monochromatic
#382946 #57406D #765793 #9578AF #B39FC6

Accessibility & contrast

On white

5.91
#765793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #765793
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765793#FFFFFF#000000##FFFFFF
##7657931.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6395
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#72606E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765793;
/* rgb */ color: rgb(118, 87, 147);
/* oklch */ color: oklch(51.4% 0.098 307.0);
Tailwind
colors: {
  custom: {
    50: '#9e87b3',
    500: '#765793',
    950: '#000000',
  },
}
SCSS
$custom: #765793;
$custom-light: #9e87b3;
$custom-dark: #000000;
JSON
{
  "hex": "#765793",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 147
  },
  "hsl": {
    "h": 271,
    "s": 25.641,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.09823,
    "h": 307
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#765793
secondary
#A2B392
accent
#C26692
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765793

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

Preview Lab → · Contrast checker → · Palette generator →

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