#762086#762086

#762086 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.171 H 320.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#762086
RGBrgb(118, 32, 134)
HSLhsl(291, 61%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(30.89, 50.71, -38.57)
CIE-LCHlch(30.89, 63.71, 322.75°)
OKLaboklab(42.66% 0.1325 -0.108)
OKLCHoklch(42.66% 0.171 320.8)
XYZxyz(12.2903, 6.6065, 23.1774)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762086 #308620
analogous
#432086 #762086 #862063
triadic
#762086 #867620 #208676
tetradic
#762086 #864320 #308620 #206386
square
#762086 #864320 #308620 #206386
split-complementary
#762086 #638620 #208643
monochromatic
#1F0823 #4A1455 #762086 #A22CB7 #BF4CD4

Accessibility & contrast

On white

9.05
#762086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#762086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762086
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762086#FFFFFF#000000##FFFFFF
##7620861.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2B4C84
Tritanopia (blue-blind)
#773451
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762086;
/* rgb */ color: rgb(118, 32, 134);
/* oklch */ color: oklch(42.7% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#a165aa',
    500: '#762086',
    950: '#000000',
  },
}
SCSS
$custom: #762086;
$custom-light: #a165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762086",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 290.588,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.17095,
    "h": 320.8
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#762086
secondary
#5CB74B
accent
#E5435D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762086

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

Preview Lab → · Contrast checker → · Palette generator →

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