#762EB7#762EB7

#762EB7 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.202 H 303.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#762EB7
RGBrgb(118, 46, 183)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 72%)
CMYKcmyk(35.5%, 74.9%, 0%, 28.2%)
CIE-LABlab(36.41, 55.76, -59.35)
CIE-LCHlch(36.41, 81.43, 313.21°)
OKLaboklab(47.69% 0.1111 -0.1691)
OKLCHoklch(47.69% 0.202 303.3)
XYZxyz(16.9934, 9.2244, 45.6758)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB7 #6FB72E
analogous
#322EB7 #762EB7 #B72EB3
triadic
#762EB7 #B7762E #2EB776
tetradic
#762EB7 #B7322E #6FB72E #2EB3B7
square
#762EB7 #B7322E #6FB72E #2EB3B7
split-complementary
#762EB7 #B3B72E #2EB732
monochromatic
#371555 #562286 #762EB7 #944FD3 #B280DF

Accessibility & contrast

On white

7.38
#762EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#762EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB7
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB7#FFFFFF#000000##FFFFFF
##762EB71.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#695071
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762eb7;
/* rgb */ color: rgb(118, 46, 183);
/* oklch */ color: oklch(47.7% 0.202 303.3);
Tailwind
colors: {
  custom: {
    50: '#a36ece',
    500: '#762eb7',
    950: '#000000',
  },
}
SCSS
$custom: #762eb7;
$custom-light: #a36ece;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb7",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 271.533,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.20236,
    "h": 303.3
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#762EB7
secondary
#9EC879
accent
#E34590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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