#762E8A#762E8A

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

Color values

HEX#762E8A
RGBrgb(118, 46, 138)
HSLhsl(287, 50%, 36%)
HSVhsv(287, 67%, 54%)
CMYKcmyk(14.5%, 66.7%, 0%, 45.9%)
CIE-LABlab(33.22, 45.67, -37.32)
CIE-LCHlch(33.22, 58.98, 320.75°)
OKLaboklab(44.41% 0.1168 -0.1045)
OKLCHoklch(44.41% 0.157 318.2)
XYZxyz(13.0350, 7.6411, 24.8281)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E8A #428A2E
analogous
#482E8A #762E8A #8A2E70
triadic
#762E8A #8A762E #2E8A76
tetradic
#762E8A #8A482E #428A2E #2E708A
square
#762E8A #8A482E #428A2E #2E708A
split-complementary
#762E8A #708A2E #2E8A48
monochromatic
#280F2E #4F1F5C #762E8A #9D3DB8 #B666CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762E8A#FFFFFF#000000##FFFFFF
##762E8A1.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)
#0E498D
Deuteranopia (green-blind)
#325088
Tritanopia (blue-blind)
#763E58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762e8a;
/* rgb */ color: rgb(118, 46, 138);
/* oklch */ color: oklch(44.4% 0.157 318.2);
Tailwind
colors: {
  custom: {
    50: '#a06cad',
    500: '#762e8a',
    950: '#000000',
  },
}
SCSS
$custom: #762e8a;
$custom-light: #a06cad;
$custom-dark: #000000;
JSON
{
  "hex": "#762e8a",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 286.957,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.15672,
    "h": 318.2
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#762E8A
secondary
#73B361
accent
#DA4E6D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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