#762EB9#762EB9

#762EB9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.204 H 302.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#762EB9
RGBrgb(118, 46, 185)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36.2%, 75.1%, 0%, 27.5%)
CIE-LABlab(36.57, 56.23, -60.27)
CIE-LCHlch(36.57, 82.43, 313.01°)
OKLaboklab(47.85% 0.1107 -0.1719)
OKLCHoklch(47.85% 0.204 302.8)
XYZxyz(17.2031, 9.3083, 46.7799)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB9 #71B92E
analogous
#302EB9 #762EB9 #B92EB6
triadic
#762EB9 #B9762E #2EB976
tetradic
#762EB9 #B9302E #71B92E #2EB6B9
square
#762EB9 #B9302E #71B92E #2EB6B9
split-complementary
#762EB9 #B6B92E #2EB930
monochromatic
#371657 #572288 #762EB9 #9451D4 #B282E0

Accessibility & contrast

On white

7.34
#762EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#762EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB9
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB9#FFFFFF#000000##FFFFFF
##762EB91.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#685172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762eb9;
/* rgb */ color: rgb(118, 46, 185);
/* oklch */ color: oklch(47.9% 0.204 302.8);
Tailwind
colors: {
  custom: {
    50: '#a36ecf',
    500: '#762eb9',
    950: '#000000',
  },
}
SCSS
$custom: #762eb9;
$custom-light: #a36ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb9",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 271.079,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47852,
    "c": 0.20441,
    "h": 302.8
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#762EB9
secondary
#A0C97A
accent
#E34491
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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