#762E9B#762E9B

#762E9B is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.174 H 311.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#762E9B
RGBrgb(118, 46, 155)
HSLhsl(280, 54%, 39%)
HSVhsv(280, 70%, 61%)
CMYKcmyk(23.9%, 70.3%, 0%, 39.2%)
CIE-LABlab(34.34, 49.34, -45.94)
CIE-LCHlch(34.34, 67.42, 317.05°)
OKLaboklab(45.57% 0.1157 -0.1297)
OKLCHoklch(45.57% 0.174 311.7)
XYZxyz(14.3635, 8.1725, 31.8248)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E9B #539B2E
analogous
#402E9B #762E9B #9B2E8A
triadic
#762E9B #9B762E #2E9B76
tetradic
#762E9B #9B402E #539B2E #2E8A9B
square
#762E9B #9B402E #539B2E #2E8A9B
split-complementary
#762E9B #8A9B2E #2E9B40
monochromatic
#2E123D #52206C #762E9B #9940C6 #B26FD4

Accessibility & contrast

On white

7.97
#762E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#762E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E9B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E9B#FFFFFF#000000##FFFFFF
##762E9B1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#215299
Tritanopia (blue-blind)
#724561
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762e9b;
/* rgb */ color: rgb(118, 46, 155);
/* oklch */ color: oklch(45.6% 0.174 311.7);
Tailwind
colors: {
  custom: {
    50: '#a16db9',
    500: '#762e9b',
    950: '#000000',
  },
}
SCSS
$custom: #762e9b;
$custom-light: #a16db9;
$custom-dark: #000000;
JSON
{
  "hex": "#762e9b",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 279.633,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.17384,
    "h": 311.7
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#762E9B
secondary
#85BC69
accent
#DE4A7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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