#762DA1#762DA1

#762DA1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.181 H 309.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#762DA1
RGBrgb(118, 45, 161)
HSLhsl(278, 56%, 40%)
HSVhsv(278, 72%, 63%)
CMYKcmyk(26.7%, 72%, 0%, 36.9%)
CIE-LABlab(34.60, 51.13, -49.14)
CIE-LCHlch(34.60, 70.91, 316.13°)
OKLaboklab(45.89% 0.1161 -0.1391)
OKLCHoklch(45.89% 0.181 309.8)
XYZxyz(14.8414, 8.3018, 34.5319)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DA1 #58A12D
analogous
#3C2DA1 #762DA1 #A12D92
triadic
#762DA1 #A1762D #2DA176
tetradic
#762DA1 #A13C2D #58A12D #2D92A1
square
#762DA1 #A13C2D #58A12D #2D92A1
split-complementary
#762DA1 #92A12D #2DA13C
monochromatic
#301241 #532071 #762DA1 #9741CA #B171D7

Accessibility & contrast

On white

7.89
#762DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#762DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DA1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DA1#FFFFFF#000000##FFFFFF
##762DA11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762da1;
/* rgb */ color: rgb(118, 45, 161);
/* oklch */ color: oklch(45.9% 0.181 309.8);
Tailwind
colors: {
  custom: {
    50: '#a26dbe',
    500: '#762da1',
    950: '#000000',
  },
}
SCSS
$custom: #762da1;
$custom-light: #a26dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#762da1",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 277.759,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.18119,
    "h": 309.8
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#762DA1
secondary
#8ABF6B
accent
#E04880
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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