#763299#763299

#763299 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 312.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#763299
RGBrgb(118, 50, 153)
HSLhsl(280, 51%, 40%)
HSVhsv(280, 67%, 60%)
CMYKcmyk(22.9%, 67.3%, 0%, 40%)
CIE-LABlab(34.87, 47.04, -43.87)
CIE-LCHlch(34.87, 64.32, 317.00°)
OKLaboklab(45.9% 0.1113 -0.1237)
OKLCHoklch(45.9% 0.166 312)
XYZxyz(14.3605, 8.4330, 31.0021)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#763299 #559932
analogous
#433299 #763299 #993288
triadic
#763299 #997632 #329976
tetradic
#763299 #994332 #559932 #328899
square
#763299 #994332 #559932 #328899
split-complementary
#763299 #889932 #329943
monochromatic
#2F143D #52236B #763299 #9846C2 #B274D2

Accessibility & contrast

On white

7.82
#763299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#763299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #763299
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##763299#FFFFFF#000000##FFFFFF
##7632991.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#285397
Tritanopia (blue-blind)
#724761
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #763299;
/* rgb */ color: rgb(118, 50, 153);
/* oklch */ color: oklch(45.9% 0.166 312.0);
Tailwind
colors: {
  custom: {
    50: '#a16fb8',
    500: '#763299',
    950: '#000000',
  },
}
SCSS
$custom: #763299;
$custom-light: #a16fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#763299",
  "rgb": {
    "r": 118,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 279.612,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45904,
    "c": 0.16641,
    "h": 312
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#763299
secondary
#87BA6D
accent
#DA4E7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #763299

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

Preview Lab → · Contrast checker → · Palette generator →

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