#762EAB#762EAB

#762EAB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.190 H 306.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#762EAB
RGBrgb(118, 46, 171)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 73%, 67%)
CMYKcmyk(31%, 73.1%, 0%, 32.9%)
CIE-LABlab(35.49, 52.96, -53.71)
CIE-LCHlch(35.49, 75.43, 314.60°)
OKLaboklab(46.75% 0.1135 -0.1526)
OKLCHoklch(46.75% 0.19 306.6)
XYZxyz(15.7973, 8.7460, 39.3761)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EAB #63AB2E
analogous
#372EAB #762EAB #AB2EA2
triadic
#762EAB #AB762E #2EAB76
tetradic
#762EAB #AB372E #63AB2E #2EA2AB
square
#762EAB #AB372E #63AB2E #2EA2AB
split-complementary
#762EAB #A2AB2E #2EAB37
monochromatic
#33144B #55217B #762EAB #9548CE #B179DB

Accessibility & contrast

On white

7.64
#762EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#762EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EAB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EAB#FFFFFF#000000##FFFFFF
##762EAB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#6D4C6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762eab;
/* rgb */ color: rgb(118, 46, 171);
/* oklch */ color: oklch(46.8% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#a26ec5',
    500: '#762eab',
    950: '#000000',
  },
}
SCSS
$custom: #762eab;
$custom-light: #a26ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#762eab",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 274.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.19014,
    "h": 306.6
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#762EAB
secondary
#94C372
accent
#E14788
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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