#762AB9#762AB9

#762AB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.209 H 303.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#762AB9
RGBrgb(118, 42, 185)
HSLhsl(272, 63%, 45%)
HSVhsv(272, 77%, 73%)
CMYKcmyk(36.2%, 77.3%, 0%, 27.5%)
CIE-LABlab(36.00, 57.86, -61.20)
CIE-LCHlch(36.00, 84.22, 313.39°)
OKLaboklab(47.45% 0.1141 -0.1745)
OKLCHoklch(47.45% 0.209 303.2)
XYZxyz(17.0541, 9.0103, 46.7302)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB9 #6DB92A
analogous
#2E2AB9 #762AB9 #B92AB5
triadic
#762AB9 #B9762A #2AB976
tetradic
#762AB9 #B92E2A #6DB92A #2AB5B9
square
#762AB9 #B92E2A #6DB92A #2AB5B9
split-complementary
#762AB9 #B5B92A #2AB92E
monochromatic
#361355 #561F87 #762AB9 #944AD6 #B27CE1

Accessibility & contrast

On white

7.49
#762AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#762AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB9
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB9#FFFFFF#000000##FFFFFF
##762AB91.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#684F71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762ab9;
/* rgb */ color: rgb(118, 42, 185);
/* oklch */ color: oklch(47.5% 0.209 303.2);
Tailwind
colors: {
  custom: {
    50: '#a46ccf',
    500: '#762ab9',
    950: '#000000',
  },
}
SCSS
$custom: #762ab9;
$custom-light: #a46ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab9",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 271.888,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.20855,
    "h": 303.2
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#762AB9
secondary
#9DCA75
accent
#E6428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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