#762C8D#762C8D

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

Color values

HEX#762C8D
RGBrgb(118, 44, 141)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 69%, 55%)
CMYKcmyk(16.3%, 68.8%, 0%, 44.7%)
CIE-LABlab(33.08, 47.22, -39.39)
CIE-LCHlch(33.08, 61.49, 320.16°)
OKLaboklab(44.37% 0.1191 -0.1105)
OKLCHoklch(44.37% 0.162 317.1)
XYZxyz(13.1789, 7.5765, 25.9624)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C8D #438D2C
analogous
#462C8D #762C8D #8D2C74
triadic
#762C8D #8D762C #2C8D76
tetradic
#762C8D #8D462C #438D2C #2C748D
square
#762C8D #8D462C #438D2C #2C748D
split-complementary
#762C8D #748D2C #2C8D46
monochromatic
#280F30 #4F1D5E #762C8D #9D3BBC #B665CF

Accessibility & contrast

On white

8.35
#762C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762C8D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C8D#FFFFFF#000000##FFFFFF
##762C8D1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#753E59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762c8d;
/* rgb */ color: rgb(118, 44, 141);
/* oklch */ color: oklch(44.4% 0.162 317.1);
Tailwind
colors: {
  custom: {
    50: '#a16baf',
    500: '#762c8d',
    950: '#000000',
  },
}
SCSS
$custom: #762c8d;
$custom-light: #a16baf;
$custom-dark: #000000;
JSON
{
  "hex": "#762c8d",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 285.773,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.16249,
    "h": 317.1
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#762C8D
secondary
#74B560
accent
#DC4C6E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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