#762E9D#762E9D

#762E9D is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.176 H 311.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#762E9D
RGBrgb(118, 46, 157)
HSLhsl(279, 55%, 40%)
HSVhsv(279, 71%, 62%)
CMYKcmyk(24.8%, 70.7%, 0%, 38.4%)
CIE-LABlab(34.48, 49.79, -46.93)
CIE-LCHlch(34.48, 68.42, 316.70°)
OKLaboklab(45.71% 0.1155 -0.1326)
OKLCHoklch(45.71% 0.176 311.1)
XYZxyz(14.5329, 8.2402, 32.7167)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E9D #559D2E
analogous
#3F2E9D #762E9D #9D2E8D
triadic
#762E9D #9D762E #2E9D76
tetradic
#762E9D #9D3F2E #559D2E #2E8D9D
square
#762E9D #9D3F2E #559D2E #2E8D9D
split-complementary
#762E9D #8D9D2E #2E9D3F
monochromatic
#2F123E #52206E #762E9D #9841C7 #B270D5

Accessibility & contrast

On white

7.93
#762E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#762E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E9D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E9D#FFFFFF#000000##FFFFFF
##762E9D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#1E529B
Tritanopia (blue-blind)
#714662
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762e9d;
/* rgb */ color: rgb(118, 46, 157);
/* oklch */ color: oklch(45.7% 0.176 311.1);
Tailwind
colors: {
  custom: {
    50: '#a16dbb',
    500: '#762e9d',
    950: '#000000',
  },
}
SCSS
$custom: #762e9d;
$custom-light: #a16dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#762e9d",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 278.919,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.17588,
    "h": 311.1
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#762E9D
secondary
#87BD6A
accent
#DE4A7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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