#762FA4#762FA4

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

Color values

HEX#762FA4
RGBrgb(118, 47, 164)
HSLhsl(276, 55%, 41%)
HSVhsv(276, 71%, 64%)
CMYKcmyk(28%, 71.3%, 0%, 35.7%)
CIE-LABlab(35.13, 50.92, -50.09)
CIE-LCHlch(35.13, 71.43, 315.47°)
OKLaboklab(46.34% 0.1135 -0.1419)
OKLCHoklch(46.34% 0.182 308.7)
XYZxyz(15.1872, 8.5652, 35.9679)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FA4 #5DA42F
analogous
#3C2FA4 #762FA4 #A42F98
triadic
#762FA4 #A4762F #2FA476
tetradic
#762FA4 #A43C2F #5DA42F #2F98A4
square
#762FA4 #A43C2F #5DA42F #2F98A4
split-complementary
#762FA4 #98A42F #2FA43C
monochromatic
#321445 #542174 #762FA4 #9646CA #B176D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762FA4#FFFFFF#000000##FFFFFF
##762FA41.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)
#0050A7
Deuteranopia (green-blind)
#1353A1
Tritanopia (blue-blind)
#6F4966
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762fa4;
/* rgb */ color: rgb(118, 47, 164);
/* oklch */ color: oklch(46.3% 0.182 308.7);
Tailwind
colors: {
  custom: {
    50: '#a26ec0',
    500: '#762fa4',
    950: '#000000',
  },
}
SCSS
$custom: #762fa4;
$custom-light: #a26ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#762fa4",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 276.41,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46335,
    "c": 0.18176,
    "h": 308.7
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#762FA4
secondary
#8FC06F
accent
#DF4984
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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