#762876#762876

#762876 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.146 H 327.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#762876
RGBrgb(118, 40, 118)
HSLhsl(300, 49%, 31%)
HSVhsv(300, 66%, 46%)
CMYKcmyk(0%, 66.1%, 0%, 53.7%)
CIE-LABlab(31.06, 44.44, -28.26)
CIE-LCHlch(31.06, 52.67, 327.55°)
OKLaboklab(42.47% 0.1238 -0.0781)
OKLCHoklch(42.47% 0.146 327.8)
XYZxyz(11.4999, 6.6779, 17.8193)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762876 #287628
analogous
#4F2876 #762876 #76284F
triadic
#762876 #767628 #287676
tetradic
#762876 #764F28 #287628 #284F76
square
#762876 #764F28 #287628 #284F76
split-complementary
#762876 #4F7628 #28764F
monochromatic
#1B091B #481948 #762876 #A437A4 #C554C5

Accessibility & contrast

On white

8.99
#762876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#762876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762876
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762876#FFFFFF#000000##FFFFFF
##7628761.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#7A324B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762876;
/* rgb */ color: rgb(118, 40, 118);
/* oklch */ color: oklch(42.5% 0.146 327.8);
Tailwind
colors: {
  custom: {
    50: '#a0689e',
    500: '#762876',
    950: '#000000',
  },
}
SCSS
$custom: #762876;
$custom-light: #a0689e;
$custom-dark: #000000;
JSON
{
  "hex": "#762876",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 300,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.14639,
    "h": 327.8
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#762876
secondary
#52A852
accent
#D94F4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #762876

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

Preview Lab → · Contrast checker → · Palette generator →

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