#762AA7#762AA7

#762AA7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 308.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#762AA7
RGBrgb(118, 42, 167)
HSLhsl(276, 60%, 41%)
HSVhsv(276, 75%, 65%)
CMYKcmyk(29.3%, 74.9%, 0%, 34.5%)
CIE-LABlab(34.60, 53.75, -52.77)
CIE-LCHlch(34.60, 75.32, 315.53°)
OKLaboklab(46.02% 0.1181 -0.1498)
OKLCHoklch(46.02% 0.191 308.3)
XYZxyz(15.2728, 8.2977, 37.3488)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AA7 #5BA72A
analogous
#372AA7 #762AA7 #A72A99
triadic
#762AA7 #A7762A #2AA776
tetradic
#762AA7 #A7372A #5BA72A #2A99A7
square
#762AA7 #A7372A #5BA72A #2A99A7
split-complementary
#762AA7 #99A72A #2AA737
monochromatic
#311145 #531E76 #762AA7 #973FCF #B170DB

Accessibility & contrast

On white

7.90
#762AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#762AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AA7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AA7#FFFFFF#000000##FFFFFF
##762AA71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#6E4867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762aa7;
/* rgb */ color: rgb(118, 42, 167);
/* oklch */ color: oklch(46.0% 0.191 308.3);
Tailwind
colors: {
  custom: {
    50: '#a26bc2',
    500: '#762aa7',
    950: '#000000',
  },
}
SCSS
$custom: #762aa7;
$custom-light: #a26bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#762aa7",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 276.48,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.19073,
    "h": 308.3
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#762AA7
secondary
#8DC26B
accent
#E34583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #762AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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