#762BAE#762BAE

#762BAE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.197 H 306.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#762BAE
RGBrgb(118, 43, 174)
HSLhsl(274, 60%, 43%)
HSVhsv(274, 75%, 68%)
CMYKcmyk(32.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(35.27, 54.92, -55.86)
CIE-LCHlch(35.27, 78.34, 314.51°)
OKLaboklab(46.67% 0.1158 -0.1589)
OKLCHoklch(46.67% 0.197 306.1)
XYZxyz(15.9734, 8.6354, 40.8615)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BAE #63AE2B
analogous
#342BAE #762BAE #AE2BA5
triadic
#762BAE #AE762B #2BAE76
tetradic
#762BAE #AE342B #63AE2B #2BA5AE
square
#762BAE #AE342B #63AE2B #2BA5AE
split-complementary
#762BAE #A5AE2B #2BAE34
monochromatic
#33134C #551F7D #762BAE #9545D1 #B176DD

Accessibility & contrast

On white

7.70
#762BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#762BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BAE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BAE#FFFFFF#000000##FFFFFF
##762BAE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762bae;
/* rgb */ color: rgb(118, 43, 174);
/* oklch */ color: oklch(46.7% 0.197 306.1);
Tailwind
colors: {
  custom: {
    50: '#a36cc7',
    500: '#762bae',
    950: '#000000',
  },
}
SCSS
$custom: #762bae;
$custom-light: #a36cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#762bae",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 274.351,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.19657,
    "h": 306.1
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#762BAE
secondary
#94C570
accent
#E44488
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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