#765297#765297

#765297 is a mid, moderate violet. Relative luminance 0.121; OKLCH L 50.7% C 0.112 H 306.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#765297
RGBrgb(118, 82, 151)
HSLhsl(271, 30%, 46%)
HSVhsv(271, 46%, 59%)
CMYKcmyk(21.9%, 45.7%, 0%, 40.8%)
CIE-LABlab(41.41, 29.05, -32.26)
CIE-LCHlch(41.41, 43.41, 312.01°)
OKLaboklab(50.67% 0.0675 -0.0899)
OKLCHoklch(50.67% 0.112 306.9)
XYZxyz(16.0733, 12.1206, 30.7649)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765297 #739752
analogous
#535297 #765297 #975295
triadic
#765297 #977652 #529776
tetradic
#765297 #975352 #739752 #529597
square
#765297 #975352 #739752 #529597
split-complementary
#765297 #959752 #529753
monochromatic
#382748 #573C6F #765297 #9473B3 #B39BC9

Accessibility & contrast

On white

6.13
#765297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#765297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765297
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765297#FFFFFF#000000##FFFFFF
##7652971.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#715D6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #765297;
/* rgb */ color: rgb(118, 82, 151);
/* oklch */ color: oklch(50.7% 0.112 306.9);
Tailwind
colors: {
  custom: {
    50: '#9f83b6',
    500: '#765297',
    950: '#000000',
  },
}
SCSS
$custom: #765297;
$custom-light: #9f83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765297",
  "rgb": {
    "r": 118,
    "g": 82,
    "b": 151
  },
  "hsl": {
    "h": 271.304,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.11245,
    "h": 306.9
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#765297
secondary
#A2B68F
accent
#C66292
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #765297

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

Preview Lab → · Contrast checker → · Palette generator →

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