#762386#762386

#762386 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.167 H 320.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#762386
RGBrgb(118, 35, 134)
HSLhsl(290, 59%, 33%)
HSVhsv(290, 74%, 53%)
CMYKcmyk(11.9%, 73.9%, 0%, 47.5%)
CIE-LABlab(31.29, 49.58, -37.93)
CIE-LCHlch(31.29, 62.42, 322.58°)
OKLaboklab(42.94% 0.1295 -0.1062)
OKLCHoklch(42.94% 0.167 320.6)
XYZxyz(12.3748, 6.7755, 23.2056)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762386 #338623
analogous
#442386 #762386 #862364
triadic
#762386 #867623 #238676
tetradic
#762386 #864423 #338623 #236486
square
#762386 #864423 #338623 #236486
split-complementary
#762386 #648623 #238644
monochromatic
#210A25 #4B1655 #762386 #A130B7 #BD52D2

Accessibility & contrast

On white

8.92
#762386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#762386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762386
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762386#FFFFFF#000000##FFFFFF
##7623861.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2D4D84
Tritanopia (blue-blind)
#773652
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #762386;
/* rgb */ color: rgb(118, 35, 134);
/* oklch */ color: oklch(42.9% 0.167 320.6);
Tailwind
colors: {
  custom: {
    50: '#a167aa',
    500: '#762386',
    950: '#000000',
  },
}
SCSS
$custom: #762386;
$custom-light: #a167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762386",
  "rgb": {
    "r": 118,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 290.303,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.16745,
    "h": 320.6
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#762386
secondary
#60B54F
accent
#E2465F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762386

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

Preview Lab → · Contrast checker → · Palette generator →

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