#762EA4#762EA4

#762EA4 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.183 H 308.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#762EA4
RGBrgb(118, 46, 164)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(28%, 72%, 0%, 35.7%)
CIE-LABlab(34.98, 51.36, -50.35)
CIE-LCHlch(34.98, 71.93, 315.57°)
OKLaboklab(46.22% 0.1146 -0.1427)
OKLCHoklch(46.22% 0.183 308.8)
XYZxyz(15.1477, 8.4861, 35.9548)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA4 #5CA42E
analogous
#3B2EA4 #762EA4 #A42E97
triadic
#762EA4 #A4762E #2EA476
tetradic
#762EA4 #A43B2E #5CA42E #2E97A4
square
#762EA4 #A43B2E #5CA42E #2E97A4
split-complementary
#762EA4 #97A42E #2EA43B
monochromatic
#311344 #542174 #762EA4 #9645CB #B174D8

Accessibility & contrast

On white

7.79
#762EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#762EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA4#FFFFFF#000000##FFFFFF
##762EA41.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#1153A1
Tritanopia (blue-blind)
#6F4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ea4;
/* rgb */ color: rgb(118, 46, 164);
/* oklch */ color: oklch(46.2% 0.183 308.8);
Tailwind
colors: {
  custom: {
    50: '#a26dc0',
    500: '#762ea4',
    950: '#000000',
  },
}
SCSS
$custom: #762ea4;
$custom-light: #a26dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea4",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 276.61,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.18301,
    "h": 308.8
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#762EA4
secondary
#8EC06E
accent
#DF4883
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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