#762EB6#762EB6

#762EB6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.201 H 303.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#762EB6
RGBrgb(118, 46, 182)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(35.2%, 74.7%, 0%, 28.6%)
CIE-LABlab(36.33, 55.52, -58.89)
CIE-LCHlch(36.33, 80.94, 313.32°)
OKLaboklab(47.61% 0.1113 -0.1678)
OKLCHoklch(47.61% 0.201 303.6)
XYZxyz(16.8897, 9.1830, 45.1296)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB6 #6EB62E
analogous
#322EB6 #762EB6 #B62EB2
triadic
#762EB6 #B6762E #2EB676
tetradic
#762EB6 #B6322E #6EB62E #2EB2B6
square
#762EB6 #B6322E #6EB62E #2EB2B6
split-complementary
#762EB6 #B2B62E #2EB632
monochromatic
#371554 #562285 #762EB6 #944FD2 #B280DF

Accessibility & contrast

On white

7.40
#762EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#762EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB6
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB6#FFFFFF#000000##FFFFFF
##762EB61.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#695070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762eb6;
/* rgb */ color: rgb(118, 46, 182);
/* oklch */ color: oklch(47.6% 0.201 303.6);
Tailwind
colors: {
  custom: {
    50: '#a36ecd',
    500: '#762eb6',
    950: '#000000',
  },
}
SCSS
$custom: #762eb6;
$custom-light: #a36ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb6",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 271.765,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.20135,
    "h": 303.6
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#762EB6
secondary
#9EC878
accent
#E3458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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