#762CAE#762CAE

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

Color values

HEX#762CAE
RGBrgb(118, 44, 174)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 68%)
CMYKcmyk(32.2%, 74.7%, 0%, 31.8%)
CIE-LABlab(35.42, 54.51, -55.62)
CIE-LCHlch(35.42, 77.88, 314.42°)
OKLaboklab(46.77% 0.1148 -0.1582)
OKLCHoklch(46.77% 0.195 306)
XYZxyz(16.0102, 8.7091, 40.8738)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CAE #64AE2C
analogous
#352CAE #762CAE #AE2CA5
triadic
#762CAE #AE762C #2CAE76
tetradic
#762CAE #AE352C #64AE2C #2CA5AE
square
#762CAE #AE352C #64AE2C #2CA5AE
split-complementary
#762CAE #A5AE2C #2CAE35
monochromatic
#34134C #55207D #762CAE #9547D0 #B178DD

Accessibility & contrast

On white

7.66
#762CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#762CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CAE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CAE#FFFFFF#000000##FFFFFF
##762CAE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762cae;
/* rgb */ color: rgb(118, 44, 174);
/* oklch */ color: oklch(46.8% 0.195 306.0);
Tailwind
colors: {
  custom: {
    50: '#a36dc7',
    500: '#762cae',
    950: '#000000',
  },
}
SCSS
$custom: #762cae;
$custom-light: #a36dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#762cae",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 274.154,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.19546,
    "h": 306
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#762CAE
secondary
#95C571
accent
#E34589
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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