#762C8E#762C8E

#762C8E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.163 H 316.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#762C8E
RGBrgb(118, 44, 142)
HSLhsl(285, 53%, 36%)
HSVhsv(285, 69%, 56%)
CMYKcmyk(16.9%, 69%, 0%, 44.3%)
CIE-LABlab(33.15, 47.43, -39.90)
CIE-LCHlch(33.15, 61.98, 319.93°)
OKLaboklab(44.44% 0.1191 -0.112)
OKLCHoklch(44.44% 0.163 316.7)
XYZxyz(13.2537, 7.6064, 26.3560)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C8E #448E2C
analogous
#452C8E #762C8E #8E2C75
triadic
#762C8E #8E762C #2C8E76
tetradic
#762C8E #8E452C #448E2C #2C758E
square
#762C8E #8E452C #448E2C #2C758E
split-complementary
#762C8E #758E2C #2C8E45
monochromatic
#280F31 #4F1E5F #762C8E #9D3ABD #B565CF

Accessibility & contrast

On white

8.33
#762C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#762C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C8E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C8E#FFFFFF#000000##FFFFFF
##762C8E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#753F59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762c8e;
/* rgb */ color: rgb(118, 44, 142);
/* oklch */ color: oklch(44.4% 0.163 316.7);
Tailwind
colors: {
  custom: {
    50: '#a16bb0',
    500: '#762c8e',
    950: '#000000',
  },
}
SCSS
$custom: #762c8e;
$custom-light: #a16bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#762c8e",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 285.306,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.16347,
    "h": 316.7
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#762C8E
secondary
#75B660
accent
#DC4C6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C8E

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

Preview Lab → · Contrast checker → · Palette generator →

#762C8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva