#762096#762096

#762096 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.185 H 314.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#762096
RGBrgb(118, 32, 150)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 79%, 59%)
CMYKcmyk(21.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(32.00, 53.91, -46.66)
CIE-LCHlch(32.00, 71.29, 319.12°)
OKLaboklab(43.8% 0.1304 -0.1317)
OKLCHoklch(43.8% 0.185 314.7)
XYZxyz(13.4918, 7.0871, 29.5055)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762096 #409620
analogous
#3B2096 #762096 #96207B
triadic
#762096 #967620 #209676
tetradic
#762096 #963B20 #409620 #207B96
square
#762096 #963B20 #409620 #207B96
split-complementary
#762096 #7B9620 #20963B
monochromatic
#270A31 #4E1564 #762096 #9E2BC8 #B756DB

Accessibility & contrast

On white

8.69
#762096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#762096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762096
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762096#FFFFFF#000000##FFFFFF
##7620961.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#194D94
Tritanopia (blue-blind)
#733B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #762096;
/* rgb */ color: rgb(118, 32, 150);
/* oklch */ color: oklch(43.8% 0.185 314.7);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#762096',
    950: '#000000',
  },
}
SCSS
$custom: #762096;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#762096",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 283.729,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43798,
    "c": 0.18535,
    "h": 314.7
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#762096
secondary
#70BE53
accent
#E8406D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762096

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

Preview Lab → · Contrast checker → · Palette generator →

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