#762AB7#762AB7

#762AB7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.207 H 303.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#762AB7
RGBrgb(118, 42, 183)
HSLhsl(272, 63%, 44%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(35.5%, 77%, 0%, 28.2%)
CIE-LABlab(35.84, 57.39, -60.28)
CIE-LCHlch(35.84, 83.23, 313.59°)
OKLaboklab(47.29% 0.1146 -0.1718)
OKLCHoklch(47.29% 0.207 303.7)
XYZxyz(16.8444, 8.9264, 45.6261)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB7 #6BB72A
analogous
#2F2AB7 #762AB7 #B72AB2
triadic
#762AB7 #B7762A #2AB776
tetradic
#762AB7 #B72F2A #6BB72A #2AB2B7
square
#762AB7 #B72F2A #6BB72A #2AB2B7
split-complementary
#762AB7 #B2B72A #2AB72F
monochromatic
#361353 #561F85 #762AB7 #9549D5 #B27BE1

Accessibility & contrast

On white

7.54
#762AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#762AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB7
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB7#FFFFFF#000000##FFFFFF
##762AB71.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#694F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762ab7;
/* rgb */ color: rgb(118, 42, 183);
/* oklch */ color: oklch(47.3% 0.207 303.7);
Tailwind
colors: {
  custom: {
    50: '#a36cce',
    500: '#762ab7',
    950: '#000000',
  },
}
SCSS
$custom: #762ab7;
$custom-light: #a36cce;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab7",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 272.34,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.20657,
    "h": 303.7
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#762AB7
secondary
#9BC974
accent
#E6428E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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