#762AA0#762AA0

#762AA0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.184 H 310.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#762AA0
RGBrgb(118, 42, 160)
HSLhsl(279, 58%, 40%)
HSVhsv(279, 74%, 63%)
CMYKcmyk(26.2%, 73.8%, 0%, 37.3%)
CIE-LABlab(34.08, 52.19, -49.39)
CIE-LCHlch(34.08, 71.85, 316.58°)
OKLaboklab(45.49% 0.1193 -0.1398)
OKLCHoklch(45.49% 0.184 310.5)
XYZxyz(14.6431, 8.0459, 34.0325)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AA0 #54A02A
analogous
#3B2AA0 #762AA0 #A02A8F
triadic
#762AA0 #A0762A #2AA076
tetradic
#762AA0 #A03B2A #54A02A #2A8FA0
square
#762AA0 #A03B2A #54A02A #2A8FA0
split-complementary
#762AA0 #8FA02A #2AA03B
monochromatic
#2E113F #521D70 #762AA0 #983CCC #B26CD8

Accessibility & contrast

On white

8.05
#762AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#762AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AA0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AA0#FFFFFF#000000##FFFFFF
##762AA01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#704563
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762aa0;
/* rgb */ color: rgb(118, 42, 160);
/* oklch */ color: oklch(45.5% 0.184 310.5);
Tailwind
colors: {
  custom: {
    50: '#a26bbd',
    500: '#762aa0',
    950: '#000000',
  },
}
SCSS
$custom: #762aa0;
$custom-light: #a26bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#762aa0",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 278.644,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.1838,
    "h": 310.5
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#762AA0
secondary
#86BF67
accent
#E2467E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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