#762EA1#762EA1

#762EA1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.180 H 309.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#762EA1
RGBrgb(118, 46, 161)
HSLhsl(278, 56%, 41%)
HSVhsv(278, 71%, 63%)
CMYKcmyk(26.7%, 71.4%, 0%, 36.9%)
CIE-LABlab(34.76, 50.68, -48.89)
CIE-LCHlch(34.76, 70.42, 316.03°)
OKLaboklab(46% 0.115 -0.1384)
OKLCHoklch(46% 0.18 309.7)
XYZxyz(14.8800, 8.3791, 34.5448)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA1 #59A12E
analogous
#3C2EA1 #762EA1 #A12E92
triadic
#762EA1 #A1762E #2EA176
tetradic
#762EA1 #A13C2E #59A12E #2E92A1
square
#762EA1 #A13C2E #59A12E #2E92A1
split-complementary
#762EA1 #92A12E #2EA13C
monochromatic
#301342 #532071 #762EA1 #9743C9 #B173D7

Accessibility & contrast

On white

7.85
#762EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#762EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA1#FFFFFF#000000##FFFFFF
##762EA11.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#17539F
Tritanopia (blue-blind)
#704764
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ea1;
/* rgb */ color: rgb(118, 46, 161);
/* oklch */ color: oklch(46.0% 0.180 309.7);
Tailwind
colors: {
  custom: {
    50: '#a26dbd',
    500: '#762ea1',
    950: '#000000',
  },
}
SCSS
$custom: #762ea1;
$custom-light: #a26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea1",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 277.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.17995,
    "h": 309.7
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#762EA1
secondary
#8BBE6C
accent
#DF4981
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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