#762E8F#762E8F

#762E8F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.162 H 316.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#762E8F
RGBrgb(118, 46, 143)
HSLhsl(285, 51%, 37%)
HSVhsv(285, 68%, 56%)
CMYKcmyk(17.5%, 67.8%, 0%, 43.9%)
CIE-LABlab(33.54, 46.73, -39.89)
CIE-LCHlch(33.54, 61.44, 319.51°)
OKLaboklab(44.74% 0.1167 -0.112)
OKLCHoklch(44.74% 0.162 316.2)
XYZxyz(13.4054, 7.7892, 26.7786)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E8F #478F2E
analogous
#462E8F #762E8F #8F2E78
triadic
#762E8F #8F762E #2E8F76
tetradic
#762E8F #8F462E #478F2E #2E788F
square
#762E8F #8F462E #478F2E #2E788F
split-complementary
#762E8F #788F2E #2E8F46
monochromatic
#2A1032 #501F61 #762E8F #9C3DBD #B469CF

Accessibility & contrast

On white

8.21
#762E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#762E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E8F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E8F#FFFFFF#000000##FFFFFF
##762E8F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B92
Deuteranopia (green-blind)
#2E518D
Tritanopia (blue-blind)
#74405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762e8f;
/* rgb */ color: rgb(118, 46, 143);
/* oklch */ color: oklch(44.7% 0.162 316.2);
Tailwind
colors: {
  custom: {
    50: '#a16cb0',
    500: '#762e8f',
    950: '#000000',
  },
}
SCSS
$custom: #762e8f;
$custom-light: #a16cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#762e8f",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 284.536,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44739,
    "c": 0.16172,
    "h": 316.2
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#762E8F
secondary
#78B663
accent
#DB4D72
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #762E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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