#762AA3#762AA3

#762AA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.187 H 309.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#762AA3
RGBrgb(118, 42, 163)
HSLhsl(278, 59%, 40%)
HSVhsv(278, 74%, 64%)
CMYKcmyk(27.6%, 74.2%, 0%, 36.1%)
CIE-LABlab(34.30, 52.85, -50.84)
CIE-LCHlch(34.30, 73.34, 316.11°)
OKLaboklab(45.72% 0.1188 -0.1441)
OKLCHoklch(45.72% 0.187 309.5)
XYZxyz(14.9087, 8.1521, 35.4314)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AA3 #57A32A
analogous
#3A2AA3 #762AA3 #A32A93
triadic
#762AA3 #A3762A #2AA376
tetradic
#762AA3 #A33A2A #57A32A #2A93A3
square
#762AA3 #A33A2A #57A32A #2A93A3
split-complementary
#762AA3 #93A32A #2AA33A
monochromatic
#301142 #531D72 #762AA3 #983DCD #B26EDA

Accessibility & contrast

On white

7.98
#762AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#762AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AA3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AA3#FFFFFF#000000##FFFFFF
##762AA31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#6F4664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762aa3;
/* rgb */ color: rgb(118, 42, 163);
/* oklch */ color: oklch(45.7% 0.187 309.5);
Tailwind
colors: {
  custom: {
    50: '#a26bbf',
    500: '#762aa3',
    950: '#000000',
  },
}
SCSS
$custom: #762aa3;
$custom-light: #a26bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#762aa3",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 277.686,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45719,
    "c": 0.18676,
    "h": 309.5
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#762AA3
secondary
#89C068
accent
#E24680
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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