#762AB6#762AB6

#762AB6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.206 H 304.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#762AB6
RGBrgb(118, 42, 182)
HSLhsl(273, 63%, 44%)
HSVhsv(273, 77%, 71%)
CMYKcmyk(35.2%, 76.9%, 0%, 28.6%)
CIE-LABlab(35.76, 57.16, -59.82)
CIE-LCHlch(35.76, 82.74, 313.70°)
OKLaboklab(47.21% 0.1149 -0.1705)
OKLCHoklch(47.21% 0.206 304)
XYZxyz(16.7407, 8.8849, 45.0799)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB6 #6AB62A
analogous
#302AB6 #762AB6 #B62AB0
triadic
#762AB6 #B6762A #2AB676
tetradic
#762AB6 #B6302A #6AB62A #2AB0B6
square
#762AB6 #B6302A #6AB62A #2AB0B6
split-complementary
#762AB6 #B0B62A #2AB630
monochromatic
#361353 #561F84 #762AB6 #9548D5 #B27AE0

Accessibility & contrast

On white

7.56
#762AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#762AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB6#FFFFFF#000000##FFFFFF
##762AB61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#694E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762ab6;
/* rgb */ color: rgb(118, 42, 182);
/* oklch */ color: oklch(47.2% 0.206 304.0);
Tailwind
colors: {
  custom: {
    50: '#a36ccd',
    500: '#762ab6',
    950: '#000000',
  },
}
SCSS
$custom: #762ab6;
$custom-light: #a36ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab6",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 272.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.20558,
    "h": 304
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#762AB6
secondary
#9AC873
accent
#E6428D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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