#762CA5#762CA5

#762CA5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.186 H 308.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#762CA5
RGBrgb(118, 44, 165)
HSLhsl(277, 58%, 41%)
HSVhsv(277, 73%, 65%)
CMYKcmyk(28.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(34.74, 52.46, -51.33)
CIE-LCHlch(34.74, 73.39, 315.62°)
OKLaboklab(46.08% 0.1165 -0.1456)
OKLCHoklch(46.08% 0.186 308.7)
XYZxyz(15.1620, 8.3698, 36.4068)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA5 #5BA52C
analogous
#392CA5 #762CA5 #A52C97
triadic
#762CA5 #A5762C #2CA576
tetradic
#762CA5 #A5392C #5BA52C #2C97A5
square
#762CA5 #A5392C #5BA52C #2C97A5
split-complementary
#762CA5 #97A52C #2CA539
monochromatic
#311244 #531F75 #762CA5 #9742CD #B172D9

Accessibility & contrast

On white

7.85
#762CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#762CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA5#FFFFFF#000000##FFFFFF
##762CA51.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0853A2
Tritanopia (blue-blind)
#6F4866
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ca5;
/* rgb */ color: rgb(118, 44, 165);
/* oklch */ color: oklch(46.1% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#a26cc0',
    500: '#762ca5',
    950: '#000000',
  },
}
SCSS
$custom: #762ca5;
$custom-light: #a26cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca5",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 276.694,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.18643,
    "h": 308.7
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#762CA5
secondary
#8DC16C
accent
#E14783
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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