#762187#762187

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

Color values

HEX#762187
RGBrgb(118, 33, 135)
HSLhsl(290, 61%, 33%)
HSVhsv(290, 76%, 53%)
CMYKcmyk(12.6%, 75.6%, 0%, 47.1%)
CIE-LABlab(31.09, 50.54, -38.88)
CIE-LCHlch(31.09, 63.76, 322.43°)
OKLaboklab(42.82% 0.1314 -0.1089)
OKLCHoklch(42.82% 0.171 320.3)
XYZxyz(12.3877, 6.6892, 23.5556)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762187 #328721
analogous
#432187 #762187 #872165
triadic
#762187 #877621 #218776
tetradic
#762187 #874321 #328721 #216587
square
#762187 #874321 #328721 #216587
split-complementary
#762187 #658721 #218743
monochromatic
#200925 #4B1556 #762187 #A12DB8 #BE4FD4

Accessibility & contrast

On white

8.98
#762187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762187
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762187#FFFFFF#000000##FFFFFF
##7621871.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#773552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #762187;
/* rgb */ color: rgb(118, 33, 135);
/* oklch */ color: oklch(42.8% 0.171 320.3);
Tailwind
colors: {
  custom: {
    50: '#a166aa',
    500: '#762187',
    950: '#000000',
  },
}
SCSS
$custom: #762187;
$custom-light: #a166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762187",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 290,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42819,
    "c": 0.1707,
    "h": 320.3
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#762187
secondary
#5EB74D
accent
#E4445F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762187

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

Preview Lab → · Contrast checker → · Palette generator →

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