#762EA0#762EA0

#762EA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.179 H 310.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#762EA0
RGBrgb(118, 46, 160)
HSLhsl(278, 55%, 40%)
HSVhsv(278, 71%, 63%)
CMYKcmyk(26.2%, 71.2%, 0%, 37.3%)
CIE-LABlab(34.69, 50.46, -48.40)
CIE-LCHlch(34.69, 69.92, 316.19°)
OKLaboklab(45.93% 0.1152 -0.137)
OKLCHoklch(45.93% 0.179 310.1)
XYZxyz(14.7921, 8.3439, 34.0822)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA0 #58A02E
analogous
#3D2EA0 #762EA0 #A02E91
triadic
#762EA0 #A0762E #2EA076
tetradic
#762EA0 #A03D2E #58A02E #2E91A0
square
#762EA0 #A03D2E #58A02E #2E91A0
split-complementary
#762EA0 #91A02E #2EA03D
monochromatic
#301341 #532070 #762EA0 #9742C9 #B172D6

Accessibility & contrast

On white

7.87
#762EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#762EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA0
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA0#FFFFFF#000000##FFFFFF
##762EA01.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#704764
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ea0;
/* rgb */ color: rgb(118, 46, 160);
/* oklch */ color: oklch(45.9% 0.179 310.1);
Tailwind
colors: {
  custom: {
    50: '#a16dbd',
    500: '#762ea0',
    950: '#000000',
  },
}
SCSS
$custom: #762ea0;
$custom-light: #a16dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea0",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 277.895,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.17893,
    "h": 310.1
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#762EA0
secondary
#8ABE6C
accent
#DF4980
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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