#762E7E#762E7E

#762E7E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.145 H 323.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#762E7E
RGBrgb(118, 46, 126)
HSLhsl(294, 47%, 34%)
HSVhsv(294, 63%, 49%)
CMYKcmyk(6.3%, 63.5%, 0%, 50.6%)
CIE-LABlab(32.51, 43.23, -31.00)
CIE-LCHlch(32.51, 53.19, 324.35°)
OKLaboklab(43.66% 0.1166 -0.0861)
OKLCHoklch(43.66% 0.145 323.6)
XYZxyz(12.2138, 7.3126, 20.5028)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E7E #367E2E
analogous
#4E2E7E #762E7E #7E2E5E
triadic
#762E7E #7E762E #2E7E76
tetradic
#762E7E #7E4E2E #367E2E #2E5E7E
square
#762E7E #7E4E2E #367E2E #2E5E7E
split-complementary
#762E7E #5E7E2E #2E7E4E
monochromatic
#220D24 #4C1E51 #762E7E #A03EAB #BB61C5

Accessibility & contrast

On white

8.53
#762E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#762E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E7E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E7E#FFFFFF#000000##FFFFFF
##762E7E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#783A51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762e7e;
/* rgb */ color: rgb(118, 46, 126);
/* oklch */ color: oklch(43.7% 0.145 323.6);
Tailwind
colors: {
  custom: {
    50: '#a06ca4',
    500: '#762e7e',
    950: '#000000',
  },
}
SCSS
$custom: #762e7e;
$custom-light: #a06ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#762e7e",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 294,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43661,
    "c": 0.14494,
    "h": 323.6
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#762E7E
secondary
#64AC5C
accent
#D6525F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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