#762C8F#762C8F

#762C8F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.164 H 316.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#762C8F
RGBrgb(118, 44, 143)
HSLhsl(285, 53%, 37%)
HSVhsv(285, 69%, 56%)
CMYKcmyk(17.5%, 69.2%, 0%, 43.9%)
CIE-LABlab(33.21, 47.64, -40.41)
CIE-LCHlch(33.21, 62.47, 319.69°)
OKLaboklab(44.51% 0.119 -0.1135)
OKLCHoklch(44.51% 0.164 316.4)
XYZxyz(13.3291, 7.6366, 26.7532)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C8F #458F2C
analogous
#442C8F #762C8F #8F2C77
triadic
#762C8F #8F762C #2C8F76
tetradic
#762C8F #8F442C #458F2C #2C778F
square
#762C8F #8F442C #458F2C #2C778F
split-complementary
#762C8F #778F2C #2C8F44
monochromatic
#290F31 #4F1E60 #762C8F #9D3ABE #B566D0

Accessibility & contrast

On white

8.31
#762C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#762C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C8F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C8F#FFFFFF#000000##FFFFFF
##762C8F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#753F5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762c8f;
/* rgb */ color: rgb(118, 44, 143);
/* oklch */ color: oklch(44.5% 0.164 316.4);
Tailwind
colors: {
  custom: {
    50: '#a16bb0',
    500: '#762c8f',
    950: '#000000',
  },
}
SCSS
$custom: #762c8f;
$custom-light: #a16bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#762c8f",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 284.848,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44505,
    "c": 0.16446,
    "h": 316.4
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#762C8F
secondary
#76B661
accent
#DC4B70
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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