#762E8B#762E8B

#762E8B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.158 H 317.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#762E8B
RGBrgb(118, 46, 139)
HSLhsl(286, 50%, 36%)
HSVhsv(286, 67%, 55%)
CMYKcmyk(15.1%, 66.9%, 0%, 45.5%)
CIE-LABlab(33.29, 45.88, -37.84)
CIE-LCHlch(33.29, 59.47, 320.49°)
OKLaboklab(44.47% 0.1168 -0.106)
OKLCHoklch(44.47% 0.158 317.8)
XYZxyz(13.1078, 7.6702, 25.2111)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E8B #438B2E
analogous
#482E8B #762E8B #8B2E72
triadic
#762E8B #8B762E #2E8B76
tetradic
#762E8B #8B482E #438B2E #2E728B
square
#762E8B #8B482E #438B2E #2E728B
split-complementary
#762E8B #728B2E #2E8B48
monochromatic
#28102F #4F1F5D #762E8B #9D3DB9 #B667CD

Accessibility & contrast

On white

8.29
#762E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762E8B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E8B#FFFFFF#000000##FFFFFF
##762E8B1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8E
Deuteranopia (green-blind)
#315189
Tritanopia (blue-blind)
#753F58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762e8b;
/* rgb */ color: rgb(118, 46, 139);
/* oklch */ color: oklch(44.5% 0.158 317.8);
Tailwind
colors: {
  custom: {
    50: '#a06cad',
    500: '#762e8b',
    950: '#000000',
  },
}
SCSS
$custom: #762e8b;
$custom-light: #a06cad;
$custom-dark: #000000;
JSON
{
  "hex": "#762e8b",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 286.452,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44475,
    "c": 0.15771,
    "h": 317.8
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#762E8B
secondary
#74B361
accent
#DA4E6E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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