#762EA2#762EA2

#762EA2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.181 H 309.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#762EA2
RGBrgb(118, 46, 162)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(27.2%, 71.6%, 0%, 36.5%)
CIE-LABlab(34.83, 50.91, -49.38)
CIE-LCHlch(34.83, 70.92, 315.88°)
OKLaboklab(46.08% 0.1149 -0.1398)
OKLCHoklch(46.08% 0.181 309.4)
XYZxyz(14.9685, 8.4145, 35.0110)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA2 #5AA22E
analogous
#3C2EA2 #762EA2 #A22E94
triadic
#762EA2 #A2762E #2EA276
tetradic
#762EA2 #A23C2E #5AA22E #2E94A2
square
#762EA2 #A23C2E #5AA22E #2E94A2
split-complementary
#762EA2 #94A22E #2EA23C
monochromatic
#311343 #532072 #762EA2 #9743CA #B173D7

Accessibility & contrast

On white

7.83
#762EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762EA2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA2#FFFFFF#000000##FFFFFF
##762EA21.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#15539F
Tritanopia (blue-blind)
#704865
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ea2;
/* rgb */ color: rgb(118, 46, 162);
/* oklch */ color: oklch(46.1% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#a26dbe',
    500: '#762ea2',
    950: '#000000',
  },
}
SCSS
$custom: #762ea2;
$custom-light: #a26dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea2",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 277.241,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.18097,
    "h": 309.4
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#762EA2
secondary
#8CBF6D
accent
#DF4982
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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