#762EAE#762EAE

#762EAE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.193 H 305.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#762EAE
RGBrgb(118, 46, 174)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 74%, 68%)
CMYKcmyk(32.2%, 73.6%, 0%, 31.8%)
CIE-LABlab(35.72, 53.66, -55.14)
CIE-LCHlch(35.72, 76.94, 314.22°)
OKLaboklab(46.98% 0.1129 -0.1568)
OKLCHoklch(46.98% 0.193 305.8)
XYZxyz(16.0865, 8.8617, 40.8992)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EAE #66AE2E
analogous
#362EAE #762EAE #AE2EA6
triadic
#762EAE #AE762E #2EAE76
tetradic
#762EAE #AE362E #66AE2E #2EA6AE
square
#762EAE #AE362E #66AE2E #2EA6AE
split-complementary
#762EAE #A6AE2E #2EAE36
monochromatic
#34144D #55217E #762EAE #954ACF #B17ADC

Accessibility & contrast

On white

7.57
#762EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#762EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EAE
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EAE#FFFFFF#000000##FFFFFF
##762EAE1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#6C4D6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762eae;
/* rgb */ color: rgb(118, 46, 174);
/* oklch */ color: oklch(47.0% 0.193 305.8);
Tailwind
colors: {
  custom: {
    50: '#a36ec7',
    500: '#762eae',
    950: '#000000',
  },
}
SCSS
$custom: #762eae;
$custom-light: #a36ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#762eae",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 273.75,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.1932,
    "h": 305.8
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#762EAE
secondary
#97C474
accent
#E1468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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