#762891#762891

#762891 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.172 H 315.9°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#762891
RGBrgb(118, 40, 145)
HSLhsl(285, 57%, 36%)
HSVhsv(285, 72%, 57%)
CMYKcmyk(18.6%, 72.4%, 0%, 43.1%)
CIE-LABlab(32.73, 49.79, -42.42)
CIE-LCHlch(32.73, 65.41, 319.57°)
OKLaboklab(44.2% 0.1233 -0.1194)
OKLCHoklch(44.2% 0.172 315.9)
XYZxyz(13.3400, 7.4140, 27.5109)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762891 #439128
analogous
#422891 #762891 #912878
triadic
#762891 #917628 #289176
tetradic
#762891 #914228 #439128 #287891
square
#762891 #914228 #439128 #287891
split-complementary
#762891 #789128 #289142
monochromatic
#280E31 #4F1B61 #762891 #9D35C1 #B660D3

Accessibility & contrast

On white

8.46
#762891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#762891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762891
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762891#FFFFFF#000000##FFFFFF
##7628911.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#743D5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762891;
/* rgb */ color: rgb(118, 40, 145);
/* oklch */ color: oklch(44.2% 0.172 315.9);
Tailwind
colors: {
  custom: {
    50: '#a169b2',
    500: '#762891',
    950: '#000000',
  },
}
SCSS
$custom: #762891;
$custom-light: #a169b2;
$custom-dark: #000000;
JSON
{
  "hex": "#762891",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 284.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.17159,
    "h": 315.9
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#762891
secondary
#74B95C
accent
#E0486F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762891

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

Preview Lab → · Contrast checker → · Palette generator →

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