#765197#765197

#765197 is a mid, moderate violet. Relative luminance 0.120; OKLCH L 50.5% C 0.114 H 307.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#765197
RGBrgb(118, 81, 151)
HSLhsl(272, 30%, 45%)
HSVhsv(272, 46%, 59%)
CMYKcmyk(21.9%, 46.4%, 0%, 40.8%)
CIE-LABlab(41.17, 29.65, -32.63)
CIE-LCHlch(41.17, 44.09, 312.25°)
OKLaboklab(50.5% 0.069 -0.091)
OKLCHoklch(50.5% 0.114 307.2)
XYZxyz(15.9984, 11.9709, 30.7400)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765197 #729751
analogous
#535197 #765197 #975195
triadic
#765197 #977651 #519776
tetradic
#765197 #975351 #729751 #519597
square
#765197 #975351 #729751 #519597
split-complementary
#765197 #959751 #519753
monochromatic
#382647 #573C6F #765197 #9472B3 #B39AC9

Accessibility & contrast

On white

6.19
#765197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#765197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765197
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765197#FFFFFF#000000##FFFFFF
##7651971.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#715C6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #765197;
/* rgb */ color: rgb(118, 81, 151);
/* oklch */ color: oklch(50.5% 0.114 307.2);
Tailwind
colors: {
  custom: {
    50: '#9f83b6',
    500: '#765197',
    950: '#000000',
  },
}
SCSS
$custom: #765197;
$custom-light: #9f83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765197",
  "rgb": {
    "r": 118,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 271.714,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50496,
    "c": 0.11421,
    "h": 307.2
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#765197
secondary
#A1B68E
accent
#C66191
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #765197

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

Preview Lab → · Contrast checker → · Palette generator →

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