#762188#762188

#762188 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.172 H 319.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#762188
RGBrgb(118, 33, 136)
HSLhsl(290, 61%, 33%)
HSVhsv(290, 76%, 53%)
CMYKcmyk(13.2%, 75.7%, 0%, 46.7%)
CIE-LABlab(31.15, 50.73, -39.39)
CIE-LCHlch(31.15, 64.23, 322.17°)
OKLaboklab(42.89% 0.1313 -0.1104)
OKLCHoklch(42.89% 0.172 319.9)
XYZxyz(12.4585, 6.7175, 23.9281)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762188 #338821
analogous
#432188 #762188 #882166
triadic
#762188 #887621 #218876
tetradic
#762188 #884321 #338821 #216688
square
#762188 #884321 #338821 #216688
split-complementary
#762188 #668821 #218843
monochromatic
#210925 #4B1557 #762188 #A12DB9 #BD4FD4

Accessibility & contrast

On white

8.96
#762188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762188
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762188#FFFFFF#000000##FFFFFF
##7621881.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#763653
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762188;
/* rgb */ color: rgb(118, 33, 136);
/* oklch */ color: oklch(42.9% 0.172 319.9);
Tailwind
colors: {
  custom: {
    50: '#a166ab',
    500: '#762188',
    950: '#000000',
  },
}
SCSS
$custom: #762188;
$custom-light: #a166ab;
$custom-dark: #000000;
JSON
{
  "hex": "#762188",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 289.515,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.1716,
    "h": 319.9
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#762188
secondary
#60B84D
accent
#E44460
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762188

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

Preview Lab → · Contrast checker → · Palette generator →

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