#762D8D#762D8D

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

Color values

HEX#762D8D
RGBrgb(118, 45, 141)
HSLhsl(286, 52%, 36%)
HSVhsv(286, 68%, 55%)
CMYKcmyk(16.3%, 68.1%, 0%, 44.7%)
CIE-LABlab(33.25, 46.77, -39.13)
CIE-LCHlch(33.25, 60.98, 320.08°)
OKLaboklab(44.49% 0.1179 -0.1098)
OKLCHoklch(44.49% 0.161 317.1)
XYZxyz(13.2166, 7.6519, 25.9749)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D8D #448D2D
analogous
#462D8D #762D8D #8D2D74
triadic
#762D8D #8D762D #2D8D76
tetradic
#762D8D #8D462D #448D2D #2D748D
square
#762D8D #8D462D #448D2D #2D748D
split-complementary
#762D8D #748D2D #2D8D46
monochromatic
#280F30 #4F1E5F #762D8D #9D3CBB #B566CE

Accessibility & contrast

On white

8.30
#762D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762D8D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D8D#FFFFFF#000000##FFFFFF
##762D8D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#2F508B
Tritanopia (blue-blind)
#753F59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762d8d;
/* rgb */ color: rgb(118, 45, 141);
/* oklch */ color: oklch(44.5% 0.161 317.1);
Tailwind
colors: {
  custom: {
    50: '#a16caf',
    500: '#762d8d',
    950: '#000000',
  },
}
SCSS
$custom: #762d8d;
$custom-light: #a16caf;
$custom-dark: #000000;
JSON
{
  "hex": "#762d8d",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 285.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.16111,
    "h": 317.1
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#762D8D
secondary
#75B561
accent
#DB4D6F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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