#765792#765792

#765792 is a mid, moderate violet. Relative luminance 0.127; OKLCH L 51.3% C 0.097 H 307.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#765792
RGBrgb(118, 87, 146)
HSLhsl(272, 25%, 46%)
HSVhsv(272, 40%, 57%)
CMYKcmyk(19.2%, 40.4%, 0%, 42.7%)
CIE-LABlab(42.37, 24.85, -27.74)
CIE-LCHlch(42.37, 37.24, 311.85°)
OKLaboklab(51.32% 0.0589 -0.0769)
OKLCHoklch(51.32% 0.097 307.5)
XYZxyz(16.0667, 12.7434, 28.8019)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765792 #739257
analogous
#585792 #765792 #925790
triadic
#765792 #927657 #579276
tetradic
#765792 #925857 #739257 #579092
square
#765792 #925857 #739257 #579092
split-complementary
#765792 #909257 #579258
monochromatic
#382945 #57406C #765792 #9478AE #B39EC5

Accessibility & contrast

On white

5.92
#765792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#765792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765792
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765792#FFFFFF#000000##FFFFFF
##7657921.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6394
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#72606D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765792;
/* rgb */ color: rgb(118, 87, 146);
/* oklch */ color: oklch(51.3% 0.097 307.5);
Tailwind
colors: {
  custom: {
    50: '#9e87b2',
    500: '#765792',
    950: '#000000',
  },
}
SCSS
$custom: #765792;
$custom-light: #9e87b2;
$custom-dark: #000000;
JSON
{
  "hex": "#765792",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 146
  },
  "hsl": {
    "h": 271.525,
    "s": 25.322,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.09689,
    "h": 307.5
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #765792

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

Preview Lab → · Contrast checker → · Palette generator →

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