#762EA6#762EA6

#762EA6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.185 H 308.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#762EA6
RGBrgb(118, 46, 166)
HSLhsl(276, 57%, 42%)
HSVhsv(276, 72%, 65%)
CMYKcmyk(28.9%, 72.3%, 0%, 34.9%)
CIE-LABlab(35.12, 51.82, -51.32)
CIE-LCHlch(35.12, 72.93, 315.28°)
OKLaboklab(46.37% 0.1143 -0.1455)
OKLCHoklch(46.37% 0.185 308.1)
XYZxyz(15.3297, 8.5590, 36.9135)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA6 #5EA62E
analogous
#3A2EA6 #762EA6 #A62E9A
triadic
#762EA6 #A6762E #2EA676
tetradic
#762EA6 #A63A2E #5EA62E #2E9AA6
square
#762EA6 #A63A2E #5EA62E #2E9AA6
split-complementary
#762EA6 #9AA62E #2EA63A
monochromatic
#321346 #542176 #762EA6 #9646CC #B176D9

Accessibility & contrast

On white

7.74
#762EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#762EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA6#FFFFFF#000000##FFFFFF
##762EA61.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0A53A3
Tritanopia (blue-blind)
#6E4967
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762ea6;
/* rgb */ color: rgb(118, 46, 166);
/* oklch */ color: oklch(46.4% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#a26dc1',
    500: '#762ea6',
    950: '#000000',
  },
}
SCSS
$custom: #762ea6;
$custom-light: #a26dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea6",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 276,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.18504,
    "h": 308.1
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#762EA6
secondary
#90C16F
accent
#E04885
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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