#762CA6#762CA6

#762CA6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.187 H 308.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#762CA6
RGBrgb(118, 44, 166)
HSLhsl(276, 58%, 41%)
HSVhsv(276, 73%, 65%)
CMYKcmyk(28.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(34.82, 52.68, -51.81)
CIE-LCHlch(34.82, 73.89, 315.48°)
OKLaboklab(46.16% 0.1163 -0.147)
OKLCHoklch(46.16% 0.187 308.4)
XYZxyz(15.2534, 8.4063, 36.8880)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA6 #5CA62C
analogous
#392CA6 #762CA6 #A62C99
triadic
#762CA6 #A6762C #2CA676
tetradic
#762CA6 #A6392C #5CA62C #2C99A6
square
#762CA6 #A6392C #5CA62C #2C99A6
split-complementary
#762CA6 #99A62C #2CA639
monochromatic
#311245 #541F76 #762CA6 #9642CD #B173DA

Accessibility & contrast

On white

7.83
#762CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#762CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA6
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA6#FFFFFF#000000##FFFFFF
##762CA61.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0453A3
Tritanopia (blue-blind)
#6E4866
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ca6;
/* rgb */ color: rgb(118, 44, 166);
/* oklch */ color: oklch(46.2% 0.187 308.4);
Tailwind
colors: {
  custom: {
    50: '#a26cc1',
    500: '#762ca6',
    950: '#000000',
  },
}
SCSS
$custom: #762ca6;
$custom-light: #a26cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca6",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 276.393,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.18743,
    "h": 308.4
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#762CA6
secondary
#8EC16D
accent
#E14683
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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