#763791#763791

#763791 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.0% C 0.151 H 314.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#763791
RGBrgb(118, 55, 145)
HSLhsl(282, 45%, 39%)
HSVhsv(282, 62%, 57%)
CMYKcmyk(18.6%, 62.1%, 0%, 43.1%)
CIE-LABlab(35.26, 42.78, -38.37)
CIE-LCHlch(35.26, 57.47, 318.11°)
OKLaboklab(46.02% 0.1054 -0.1076)
OKLCHoklch(46.02% 0.151 314.4)
XYZxyz(13.9474, 8.6287, 27.7134)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763791 #529137
analogous
#493791 #763791 #91377F
triadic
#763791 #917637 #379176
tetradic
#763791 #914937 #529137 #377F91
square
#763791 #914937 #529137 #377F91
split-complementary
#763791 #7F9137 #379149
monochromatic
#2E1538 #522665 #763791 #994BBB #B277CB

Accessibility & contrast

On white

7.70
#763791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#763791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763791
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763791#FFFFFF#000000##FFFFFF
##7637911.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#34558F
Tritanopia (blue-blind)
#74475F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #763791;
/* rgb */ color: rgb(118, 55, 145);
/* oklch */ color: oklch(46.0% 0.151 314.4);
Tailwind
colors: {
  custom: {
    50: '#a072b2',
    500: '#763791',
    950: '#000000',
  },
}
SCSS
$custom: #763791;
$custom-light: #a072b2;
$custom-dark: #000000;
JSON
{
  "hex": "#763791",
  "rgb": {
    "r": 118,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 282,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.15059,
    "h": 314.4
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#763791
secondary
#84B470
accent
#D5537A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #763791

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

Preview Lab → · Contrast checker → · Palette generator →

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