#762B9C#762B9C

#762B9C is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.179 H 311.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#762B9C
RGBrgb(118, 43, 156)
HSLhsl(280, 57%, 39%)
HSVhsv(280, 72%, 61%)
CMYKcmyk(24.4%, 72.4%, 0%, 38.8%)
CIE-LABlab(33.94, 50.88, -47.19)
CIE-LCHlch(33.94, 69.39, 317.16°)
OKLaboklab(45.31% 0.1188 -0.1334)
OKLCHoklch(45.31% 0.179 311.7)
XYZxyz(14.3347, 7.9800, 32.2312)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B9C #519C2B
analogous
#3E2B9C #762B9C #9C2B8A
triadic
#762B9C #9C762B #2B9C76
tetradic
#762B9C #9C3E2B #519C2B #2B8A9C
square
#762B9C #9C3E2B #519C2B #2B8A9C
split-complementary
#762B9C #8A9C2B #2B9C3E
monochromatic
#2D113C #521E6C #762B9C #993BC9 #B26BD6

Accessibility & contrast

On white

8.09
#762B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762B9C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B9C#FFFFFF#000000##FFFFFF
##762B9C1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762b9c;
/* rgb */ color: rgb(118, 43, 156);
/* oklch */ color: oklch(45.3% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#a16bba',
    500: '#762b9c',
    950: '#000000',
  },
}
SCSS
$custom: #762b9c;
$custom-light: #a16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#762b9c",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 279.823,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.17864,
    "h": 311.7
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#762B9C
secondary
#83BD66
accent
#E0487B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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