#762CB6#762CB6

#762CB6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.203 H 303.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#762CB6
RGBrgb(118, 44, 182)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(35.2%, 75.8%, 0%, 28.6%)
CIE-LABlab(36.04, 56.36, -59.36)
CIE-LCHlch(36.04, 81.85, 313.51°)
OKLaboklab(47.41% 0.1131 -0.1692)
OKLCHoklch(47.41% 0.204 303.8)
XYZxyz(16.8134, 9.0303, 45.1042)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB6 #6CB62C
analogous
#312CB6 #762CB6 #B62CB1
triadic
#762CB6 #B6762C #2CB676
tetradic
#762CB6 #B6312C #6CB62C #2CB1B6
square
#762CB6 #B6312C #6CB62C #2CB1B6
split-complementary
#762CB6 #B1B62C #2CB631
monochromatic
#361453 #562085 #762CB6 #954CD4 #B27DE0

Accessibility & contrast

On white

7.48
#762CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#762CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB6
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB6#FFFFFF#000000##FFFFFF
##762CB61.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#694F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762cb6;
/* rgb */ color: rgb(118, 44, 182);
/* oklch */ color: oklch(47.4% 0.203 303.8);
Tailwind
colors: {
  custom: {
    50: '#a36dcd',
    500: '#762cb6',
    950: '#000000',
  },
}
SCSS
$custom: #762cb6;
$custom-light: #a36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb6",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 272.174,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.2035,
    "h": 303.8
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#762CB6
secondary
#9CC876
accent
#E4448E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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