#762CB9#762CB9

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

Color values

HEX#762CB9
RGBrgb(118, 44, 185)
HSLhsl(271, 62%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(36.2%, 76.2%, 0%, 27.5%)
CIE-LABlab(36.28, 57.06, -60.74)
CIE-LCHlch(36.28, 83.34, 313.21°)
OKLaboklab(47.65% 0.1124 -0.1732)
OKLCHoklch(47.65% 0.207 303)
XYZxyz(17.1268, 9.1557, 46.7545)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB9 #6FB92C
analogous
#2F2CB9 #762CB9 #B92CB6
triadic
#762CB9 #B9762C #2CB976
tetradic
#762CB9 #B92F2C #6FB92C #2CB6B9
square
#762CB9 #B92F2C #6FB92C #2CB6B9
split-complementary
#762CB9 #B6B92C #2CB92F
monochromatic
#371456 #562088 #762CB9 #944DD5 #B27FE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762CB9#FFFFFF#000000##FFFFFF
##762CB91.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)
#0054BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#685071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762cb9;
/* rgb */ color: rgb(118, 44, 185);
/* oklch */ color: oklch(47.6% 0.207 303.0);
Tailwind
colors: {
  custom: {
    50: '#a46dcf',
    500: '#762cb9',
    950: '#000000',
  },
}
SCSS
$custom: #762cb9;
$custom-light: #a46dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb9",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 271.489,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47649,
    "c": 0.20651,
    "h": 303
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#762CB9
secondary
#9EC978
accent
#E54390
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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