#762E9F#762E9F

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

Color values

HEX#762E9F
RGBrgb(118, 46, 159)
HSLhsl(278, 55%, 40%)
HSVhsv(278, 71%, 62%)
CMYKcmyk(25.8%, 71.1%, 0%, 37.6%)
CIE-LABlab(34.62, 50.24, -47.91)
CIE-LCHlch(34.62, 69.42, 316.36°)
OKLaboklab(45.86% 0.1153 -0.1355)
OKLCHoklch(45.86% 0.178 310.4)
XYZxyz(14.7050, 8.3091, 33.6233)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E9F #579F2E
analogous
#3D2E9F #762E9F #9F2E8F
triadic
#762E9F #9F762E #2E9F76
tetradic
#762E9F #9F3D2E #579F2E #2E8F9F
square
#762E9F #9F3D2E #579F2E #2E8F9F
split-complementary
#762E9F #8F9F2E #2E9F3D
monochromatic
#301340 #532070 #762E9F #9842C8 #B271D6

Accessibility & contrast

On white

7.89
#762E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#762E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E9F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E9F#FFFFFF#000000##FFFFFF
##762E9F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#704763
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762e9f;
/* rgb */ color: rgb(118, 46, 159);
/* oklch */ color: oklch(45.9% 0.178 310.4);
Tailwind
colors: {
  custom: {
    50: '#a16dbc',
    500: '#762e9f',
    950: '#000000',
  },
}
SCSS
$custom: #762e9f;
$custom-light: #a16dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#762e9f",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 278.23,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.17791,
    "h": 310.4
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#762E9F
secondary
#89BE6B
accent
#DE497F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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