#762CA7#762CA7

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

Color values

HEX#762CA7
RGBrgb(118, 44, 167)
HSLhsl(276, 58%, 41%)
HSVhsv(276, 74%, 65%)
CMYKcmyk(29.3%, 73.7%, 0%, 34.5%)
CIE-LABlab(34.89, 52.91, -52.29)
CIE-LCHlch(34.89, 74.39, 315.34°)
OKLaboklab(46.23% 0.1161 -0.1484)
OKLCHoklch(46.23% 0.188 308.1)
XYZxyz(15.3455, 8.4432, 37.3730)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA7 #5DA72C
analogous
#392CA7 #762CA7 #A72C9B
triadic
#762CA7 #A7762C #2CA776
tetradic
#762CA7 #A7392C #5DA72C #2C9BA7
square
#762CA7 #A7392C #5DA72C #2C9BA7
split-complementary
#762CA7 #9BA72C #2CA739
monochromatic
#321246 #541F77 #762CA7 #9643CD #B173DA

Accessibility & contrast

On white

7.81
#762CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#762CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA7#FFFFFF#000000##FFFFFF
##762CA71.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0053A4
Tritanopia (blue-blind)
#6E4967
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ca7;
/* rgb */ color: rgb(118, 44, 167);
/* oklch */ color: oklch(46.2% 0.188 308.1);
Tailwind
colors: {
  custom: {
    50: '#a26cc2',
    500: '#762ca7',
    950: '#000000',
  },
}
SCSS
$custom: #762ca7;
$custom-light: #a26cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca7",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 276.098,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.18843,
    "h": 308.1
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#762CA7
secondary
#8FC26D
accent
#E24684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #762CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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