#762186#762186

#762186 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.170 H 320.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#762186
RGBrgb(118, 33, 134)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(11.9%, 75.4%, 0%, 47.5%)
CIE-LABlab(31.02, 50.34, -38.36)
CIE-LCHlch(31.02, 63.29, 322.69°)
OKLaboklab(42.75% 0.1315 -0.1074)
OKLCHoklch(42.75% 0.17 320.8)
XYZxyz(12.3176, 6.6611, 23.1866)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762186 #318621
analogous
#432186 #762186 #862163
triadic
#762186 #867621 #218676
tetradic
#762186 #864321 #318621 #216386
square
#762186 #864321 #318621 #216386
split-complementary
#762186 #638621 #218643
monochromatic
#200924 #4B1555 #762186 #A12DB7 #BE4ED3

Accessibility & contrast

On white

9.01
#762186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#762186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762186
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762186#FFFFFF#000000##FFFFFF
##7621861.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762186;
/* rgb */ color: rgb(118, 33, 134);
/* oklch */ color: oklch(42.8% 0.170 320.8);
Tailwind
colors: {
  custom: {
    50: '#a166aa',
    500: '#762186',
    950: '#000000',
  },
}
SCSS
$custom: #762186;
$custom-light: #a166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762186",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 290.495,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.16981,
    "h": 320.8
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#762186
secondary
#5DB74C
accent
#E4445D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762186

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

Preview Lab → · Contrast checker → · Palette generator →

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