#762087#762087

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

Color values

HEX#762087
RGBrgb(118, 32, 135)
HSLhsl(290, 62%, 33%)
HSVhsv(290, 76%, 53%)
CMYKcmyk(12.6%, 76.3%, 0%, 47.1%)
CIE-LABlab(30.96, 50.91, -39.08)
CIE-LCHlch(30.96, 64.18, 322.49°)
OKLaboklab(42.73% 0.1324 -0.1095)
OKLCHoklch(42.73% 0.172 320.4)
XYZxyz(12.3604, 6.6345, 23.5465)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762087 #318720
analogous
#422087 #762087 #872064
triadic
#762087 #877620 #208776
tetradic
#762087 #874220 #318720 #206487
square
#762087 #874220 #318720 #206487
split-complementary
#762087 #648720 #208742
monochromatic
#200924 #4B1456 #762087 #A12CB8 #BE4DD5

Accessibility & contrast

On white

9.03
#762087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762087
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762087#FFFFFF#000000##FFFFFF
##7620871.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.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: #762087;
/* rgb */ color: rgb(118, 32, 135);
/* oklch */ color: oklch(42.7% 0.172 320.4);
Tailwind
colors: {
  custom: {
    50: '#a165aa',
    500: '#762087',
    950: '#000000',
  },
}
SCSS
$custom: #762087;
$custom-light: #a165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#762087",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 290.097,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.17184,
    "h": 320.4
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#762087
secondary
#5DB84B
accent
#E5435E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #762087

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

Preview Lab → · Contrast checker → · Palette generator →

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