#762FA9#762FA9

#762FA9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.187 H 307.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#762FA9
RGBrgb(118, 47, 169)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 66%)
CMYKcmyk(30.2%, 72.2%, 0%, 33.7%)
CIE-LABlab(35.50, 52.07, -52.51)
CIE-LCHlch(35.50, 73.94, 314.76°)
OKLaboklab(46.71% 0.1128 -0.149)
OKLCHoklch(46.71% 0.187 307.1)
XYZxyz(15.6476, 8.7493, 38.3929)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FA9 #62A92F
analogous
#392FA9 #762FA9 #A92F9F
triadic
#762FA9 #A9762F #2FA976
tetradic
#762FA9 #A9392F #62A92F #2F9FA9
square
#762FA9 #A9392F #62A92F #2F9FA9
split-complementary
#762FA9 #9FA92F #2FA939
monochromatic
#331449 #552279 #762FA9 #9549CC #B179DA

Accessibility & contrast

On white

7.64
#762FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#762FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FA9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FA9#FFFFFF#000000##FFFFFF
##762FA91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0254A6
Tritanopia (blue-blind)
#6D4B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762fa9;
/* rgb */ color: rgb(118, 47, 169);
/* oklch */ color: oklch(46.7% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#a26ec3',
    500: '#762fa9',
    950: '#000000',
  },
}
SCSS
$custom: #762fa9;
$custom-light: #a26ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#762fa9",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 274.918,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.1869,
    "h": 307.1
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#762FA9
secondary
#93C272
accent
#E04887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #762FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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