#762DAE#762DAE

#762DAE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.194 H 305.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#762DAE
RGBrgb(118, 45, 174)
HSLhsl(274, 59%, 43%)
HSVhsv(274, 74%, 68%)
CMYKcmyk(32.2%, 74.1%, 0%, 31.8%)
CIE-LABlab(35.57, 54.09, -55.38)
CIE-LCHlch(35.57, 77.41, 314.32°)
OKLaboklab(46.88% 0.1139 -0.1575)
OKLCHoklch(46.88% 0.194 305.9)
XYZxyz(16.0479, 8.7845, 40.8863)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DAE #65AE2D
analogous
#352DAE #762DAE #AE2DA6
triadic
#762DAE #AE762D #2DAE76
tetradic
#762DAE #AE352D #65AE2D #2DA6AE
square
#762DAE #AE352D #65AE2D #2DA6AE
split-complementary
#762DAE #A6AE2D #2DAE35
monochromatic
#34144D #55207D #762DAE #9548D0 #B179DC

Accessibility & contrast

On white

7.62
#762DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DAE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DAE#FFFFFF#000000##FFFFFF
##762DAE1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762dae;
/* rgb */ color: rgb(118, 45, 174);
/* oklch */ color: oklch(46.9% 0.194 305.9);
Tailwind
colors: {
  custom: {
    50: '#a36dc7',
    500: '#762dae',
    950: '#000000',
  },
}
SCSS
$custom: #762dae;
$custom-light: #a36dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#762dae",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 273.953,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.19434,
    "h": 305.9
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#762DAE
secondary
#96C472
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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