#762B9D#762B9D

#762B9D is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.180 H 311.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#762B9D
RGBrgb(118, 43, 157)
HSLhsl(279, 57%, 39%)
HSVhsv(279, 73%, 62%)
CMYKcmyk(24.8%, 72.6%, 0%, 38.4%)
CIE-LABlab(34.01, 51.10, -47.68)
CIE-LCHlch(34.01, 69.89, 316.99°)
OKLaboklab(45.38% 0.1187 -0.1348)
OKLCHoklch(45.38% 0.18 311.4)
XYZxyz(14.4198, 8.0140, 32.6790)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B9D #529D2B
analogous
#3D2B9D #762B9D #9D2B8B
triadic
#762B9D #9D762B #2B9D76
tetradic
#762B9D #9D3D2B #529D2B #2B8B9D
square
#762B9D #9D3D2B #529D2B #2B8B9D
split-complementary
#762B9D #8B9D2B #2B9D3D
monochromatic
#2E113D #521E6D #762B9D #993CCA #B26CD7

Accessibility & contrast

On white

8.07
#762B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#762B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B9D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B9D#FFFFFF#000000##FFFFFF
##762B9D1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#1A519B
Tritanopia (blue-blind)
#714461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762b9d;
/* rgb */ color: rgb(118, 43, 157);
/* oklch */ color: oklch(45.4% 0.180 311.4);
Tailwind
colors: {
  custom: {
    50: '#a16bbb',
    500: '#762b9d',
    950: '#000000',
  },
}
SCSS
$custom: #762b9d;
$custom-light: #a16bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#762b9d",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 279.474,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.17963,
    "h": 311.4
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#762B9D
secondary
#84BD66
accent
#E0487C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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