#765795#765795

#765795 is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.5% C 0.101 H 306.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#765795
RGBrgb(118, 87, 149)
HSLhsl(270, 26%, 46%)
HSVhsv(270, 42%, 58%)
CMYKcmyk(20.8%, 41.6%, 0%, 41.6%)
CIE-LABlab(42.52, 25.58, -29.32)
CIE-LCHlch(42.52, 38.91, 311.10°)
OKLaboklab(51.48% 0.0596 -0.0814)
OKLCHoklch(51.48% 0.101 306.2)
XYZxyz(16.3031, 12.8380, 30.0470)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765795 #769557
analogous
#575795 #765795 #955795
triadic
#765795 #957657 #579576
tetradic
#765795 #955757 #769557 #579595
square
#765795 #955757 #769557 #579595
split-complementary
#765795 #959557 #579557
monochromatic
#392A48 #57406E #765795 #9579B1 #B39FC7

Accessibility & contrast

On white

5.89
#765795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#765795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765795
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765795#FFFFFF#000000##FFFFFF
##7657951.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496397
Deuteranopia (green-blind)
#506593
Tritanopia (blue-blind)
#71616F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #765795;
/* rgb */ color: rgb(118, 87, 149);
/* oklch */ color: oklch(51.5% 0.101 306.2);
Tailwind
colors: {
  custom: {
    50: '#9f87b4',
    500: '#765795',
    950: '#000000',
  },
}
SCSS
$custom: #765795;
$custom-light: #9f87b4;
$custom-dark: #000000;
JSON
{
  "hex": "#765795",
  "rgb": {
    "r": 118,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 270,
    "s": 26.271,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.10091,
    "h": 306.2
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#765795
secondary
#A4B593
accent
#C36594
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80

Preview Lab

Preview with #765795

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

Preview Lab → · Contrast checker → · Palette generator →

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