#762AAC#762AAC

#762AAC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.196 H 306.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#762AAC
RGBrgb(118, 42, 172)
HSLhsl(275, 61%, 42%)
HSVhsv(275, 76%, 67%)
CMYKcmyk(31.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(34.98, 54.87, -55.15)
CIE-LCHlch(34.98, 77.80, 314.86°)
OKLaboklab(46.41% 0.1171 -0.1568)
OKLCHoklch(46.41% 0.196 306.8)
XYZxyz(15.7440, 8.4862, 39.8303)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AAC #60AC2A
analogous
#352AAC #762AAC #AC2AA1
triadic
#762AAC #AC762A #2AAC76
tetradic
#762AAC #AC352A #60AC2A #2AA1AC
square
#762AAC #AC352A #60AC2A #2AA1AC
split-complementary
#762AAC #A1AC2A #2AAC35
monochromatic
#33124A #541E7B #762AAC #9642D1 #B173DD

Accessibility & contrast

On white

7.79
#762AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#762AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AAC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AAC#FFFFFF#000000##FFFFFF
##762AAC1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#6D4A69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762aac;
/* rgb */ color: rgb(118, 42, 172);
/* oklch */ color: oklch(46.4% 0.196 306.8);
Tailwind
colors: {
  custom: {
    50: '#a36cc6',
    500: '#762aac',
    950: '#000000',
  },
}
SCSS
$custom: #762aac;
$custom-light: #a36cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#762aac",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 275.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.19567,
    "h": 306.8
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#762AAC
secondary
#92C46D
accent
#E44486
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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