#765398#765398

#765398 is a mid, moderate violet. Relative luminance 0.123; OKLCH L 50.9% C 0.112 H 306.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#765398
RGBrgb(118, 83, 152)
HSLhsl(270, 29%, 46%)
HSVhsv(270, 45%, 60%)
CMYKcmyk(22.4%, 45.4%, 0%, 40.4%)
CIE-LABlab(41.70, 28.70, -32.40)
CIE-LCHlch(41.70, 43.29, 311.53°)
OKLaboklab(50.91% 0.0662 -0.0904)
OKLCHoklch(50.91% 0.112 306.2)
XYZxyz(16.2308, 12.3052, 31.2198)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#765398 #759853
analogous
#535398 #765398 #985397
triadic
#765398 #987653 #539876
tetradic
#765398 #985353 #759853 #539798
square
#765398 #985353 #759853 #539798
split-complementary
#765398 #979853 #539853
monochromatic
#392849 #573D70 #765398 #9575B3 #B39CC9

Accessibility & contrast

On white

6.07
#765398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#765398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #765398
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##765398#FFFFFF#000000##FFFFFF
##7653981.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#4A6396
Tritanopia (blue-blind)
#715E6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #765398;
/* rgb */ color: rgb(118, 83, 152);
/* oklch */ color: oklch(50.9% 0.112 306.2);
Tailwind
colors: {
  custom: {
    50: '#9f84b6',
    500: '#765398',
    950: '#000000',
  },
}
SCSS
$custom: #765398;
$custom-light: #9f84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#765398",
  "rgb": {
    "r": 118,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 270.435,
    "s": 29.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.112,
    "h": 306.2
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#765398
secondary
#A3B691
accent
#C66293
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0F0B11
muted
#7E7C80

Preview Lab

Preview with #765398

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

Preview Lab → · Contrast checker → · Palette generator →

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