#762F7E#762F7E

#762F7E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.143 H 323.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#762F7E
RGBrgb(118, 47, 126)
HSLhsl(294, 46%, 34%)
HSVhsv(294, 63%, 49%)
CMYKcmyk(6.3%, 62.7%, 0%, 50.6%)
CIE-LABlab(32.68, 42.75, -30.72)
CIE-LCHlch(32.68, 52.64, 324.29°)
OKLaboklab(43.79% 0.1153 -0.0853)
OKLCHoklch(43.79% 0.143 323.5)
XYZxyz(12.2533, 7.3916, 20.5159)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F7E #377E2F
analogous
#4F2F7E #762F7E #7E2F5F
triadic
#762F7E #7E762F #2F7E76
tetradic
#762F7E #7E4F2F #377E2F #2F5F7E
square
#762F7E #7E4F2F #377E2F #2F5F7E
split-complementary
#762F7E #5F7E2F #2F7E4F
monochromatic
#230E25 #4C1E51 #762F7E #A040AB #BB63C5

Accessibility & contrast

On white

8.47
#762F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#762F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762F7E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F7E#FFFFFF#000000##FFFFFF
##762F7E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#783B52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762f7e;
/* rgb */ color: rgb(118, 47, 126);
/* oklch */ color: oklch(43.8% 0.143 323.5);
Tailwind
colors: {
  custom: {
    50: '#a06ca4',
    500: '#762f7e',
    950: '#000000',
  },
}
SCSS
$custom: #762f7e;
$custom-light: #a06ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#762f7e",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 293.924,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.14341,
    "h": 323.5
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#762F7E
secondary
#65AC5D
accent
#D55260
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #762F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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