#762796#762796

#762796 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.178 H 314.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#762796
RGBrgb(118, 39, 150)
HSLhsl(283, 59%, 37%)
HSVhsv(283, 74%, 59%)
CMYKcmyk(21.3%, 74%, 0%, 41.2%)
CIE-LABlab(32.93, 51.26, -45.16)
CIE-LCHlch(32.93, 68.32, 318.62°)
OKLaboklab(44.45% 0.1238 -0.1274)
OKLCHoklch(44.45% 0.178 314.2)
XYZxyz(13.7008, 7.5051, 29.5752)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762796 #479627
analogous
#3F2796 #762796 #96277E
triadic
#762796 #967627 #279676
tetradic
#762796 #963F27 #479627 #277E96
square
#762796 #963F27 #479627 #277E96
split-complementary
#762796 #7E9627 #27963F
monochromatic
#2A0E35 #501A65 #762796 #9C34C7 #B461D6

Accessibility & contrast

On white

8.40
#762796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#762796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762796
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762796#FFFFFF#000000##FFFFFF
##7627961.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#204F94
Tritanopia (blue-blind)
#733F5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762796;
/* rgb */ color: rgb(118, 39, 150);
/* oklch */ color: oklch(44.5% 0.178 314.2);
Tailwind
colors: {
  custom: {
    50: '#a169b5',
    500: '#762796',
    950: '#000000',
  },
}
SCSS
$custom: #762796;
$custom-light: #a169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#762796",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 282.703,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.17762,
    "h": 314.2
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#762796
secondary
#78BC5D
accent
#E24673
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762796

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

Preview Lab → · Contrast checker → · Palette generator →

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