#762EB5#762EB5

#762EB5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.200 H 303.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#762EB5
RGBrgb(118, 46, 181)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(34.8%, 74.6%, 0%, 29%)
CIE-LABlab(36.26, 55.29, -58.42)
CIE-LCHlch(36.26, 80.44, 313.42°)
OKLaboklab(47.53% 0.1115 -0.1664)
OKLCHoklch(47.53% 0.2 303.8)
XYZxyz(16.7868, 9.1418, 44.5873)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB5 #6DB52E
analogous
#332EB5 #762EB5 #B52EB1
triadic
#762EB5 #B5762E #2EB576
tetradic
#762EB5 #B5332E #6DB52E #2EB1B5
square
#762EB5 #B5332E #6DB52E #2EB1B5
split-complementary
#762EB5 #B1B52E #2EB533
monochromatic
#361553 #562284 #762EB5 #944ED2 #B27FDE

Accessibility & contrast

On white

7.42
#762EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#762EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB5#FFFFFF#000000##FFFFFF
##762EB51.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#6A506F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762eb5;
/* rgb */ color: rgb(118, 46, 181);
/* oklch */ color: oklch(47.5% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#a36ecc',
    500: '#762eb5',
    950: '#000000',
  },
}
SCSS
$custom: #762eb5;
$custom-light: #a36ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb5",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 272,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.20033,
    "h": 303.8
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#762EB5
secondary
#9DC778
accent
#E3458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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