#762C9D#762C9D

#762C9D is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.178 H 311.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#762C9D
RGBrgb(118, 44, 157)
HSLhsl(279, 56%, 39%)
HSVhsv(279, 72%, 62%)
CMYKcmyk(24.8%, 72%, 0%, 38.4%)
CIE-LABlab(34.16, 50.67, -47.43)
CIE-LCHlch(34.16, 69.41, 316.89°)
OKLaboklab(45.49% 0.1177 -0.1341)
OKLCHoklch(45.49% 0.178 311.3)
XYZxyz(14.4566, 8.0876, 32.6913)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762C9D #539D2C
analogous
#3E2C9D #762C9D #9D2C8C
triadic
#762C9D #9D762C #2C9D76
tetradic
#762C9D #9D3E2C #539D2C #2C8C9D
square
#762C9D #9D3E2C #539D2C #2C8C9D
split-complementary
#762C9D #8C9D2C #2C9D3E
monochromatic
#2E113D #521F6D #762C9D #993DC9 #B26DD6

Accessibility & contrast

On white

8.02
#762C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#762C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762C9D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762C9D#FFFFFF#000000##FFFFFF
##762C9D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#714561
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762c9d;
/* rgb */ color: rgb(118, 44, 157);
/* oklch */ color: oklch(45.5% 0.178 311.3);
Tailwind
colors: {
  custom: {
    50: '#a16cbb',
    500: '#762c9d',
    950: '#000000',
  },
}
SCSS
$custom: #762c9d;
$custom-light: #a16cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#762c9d",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 279.292,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.1784,
    "h": 311.3
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#762C9D
secondary
#85BD68
accent
#E0487C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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