#762896#762896

#762896 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.176 H 314.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#762896
RGBrgb(118, 40, 150)
HSLhsl(283, 58%, 37%)
HSVhsv(283, 73%, 59%)
CMYKcmyk(21.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(33.07, 50.85, -44.93)
CIE-LCHlch(33.07, 67.86, 318.54°)
OKLaboklab(44.56% 0.1227 -0.1267)
OKLCHoklch(44.56% 0.176 314.1)
XYZxyz(13.7341, 7.5716, 29.5862)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762896 #489628
analogous
#3F2896 #762896 #96287F
triadic
#762896 #967628 #289676
tetradic
#762896 #963F28 #489628 #287F96
square
#762896 #963F28 #489628 #287F96
split-complementary
#762896 #7F9628 #28963F
monochromatic
#2A0E35 #501B66 #762896 #9C35C6 #B463D5

Accessibility & contrast

On white

8.35
#762896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#762896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762896
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762896#FFFFFF#000000##FFFFFF
##7628961.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#73405C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762896;
/* rgb */ color: rgb(118, 40, 150);
/* oklch */ color: oklch(44.6% 0.176 314.1);
Tailwind
colors: {
  custom: {
    50: '#a16ab5',
    500: '#762896',
    950: '#000000',
  },
}
SCSS
$custom: #762896;
$custom-light: #a16ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#762896",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 282.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.17642,
    "h": 314.1
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#762896
secondary
#7ABB5F
accent
#E14774
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762896

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

Preview Lab → · Contrast checker → · Palette generator →

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