#762CA1#762CA1

#762CA1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.182 H 309.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#762CA1
RGBrgb(118, 44, 161)
HSLhsl(278, 57%, 40%)
HSVhsv(278, 73%, 63%)
CMYKcmyk(26.7%, 72.7%, 0%, 36.9%)
CIE-LABlab(34.45, 51.56, -49.39)
CIE-LCHlch(34.45, 71.40, 316.23°)
OKLaboklab(45.78% 0.1171 -0.1399)
OKLCHoklch(45.78% 0.182 309.9)
XYZxyz(14.8037, 8.2264, 34.5193)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA1 #57A12C
analogous
#3C2CA1 #762CA1 #A12C91
triadic
#762CA1 #A1762C #2CA176
tetradic
#762CA1 #A13C2C #57A12C #2C91A1
square
#762CA1 #A13C2C #57A12C #2C91A1
split-complementary
#762CA1 #91A12C #2CA13C
monochromatic
#301241 #531F71 #762CA1 #9840CB #B270D8

Accessibility & contrast

On white

7.94
#762CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#762CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA1#FFFFFF#000000##FFFFFF
##762CA11.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#14529E
Tritanopia (blue-blind)
#704664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762ca1;
/* rgb */ color: rgb(118, 44, 161);
/* oklch */ color: oklch(45.8% 0.182 309.9);
Tailwind
colors: {
  custom: {
    50: '#a26cbe',
    500: '#762ca1',
    950: '#000000',
  },
}
SCSS
$custom: #762ca1;
$custom-light: #a26cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca1",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 277.949,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.18242,
    "h": 309.9
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#762CA1
secondary
#89BF6A
accent
#E04780
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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