#762F9E#762F9E

#762F9E is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.176 H 310.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#762F9E
RGBrgb(118, 47, 158)
HSLhsl(278, 54%, 40%)
HSVhsv(278, 70%, 62%)
CMYKcmyk(25.3%, 70.3%, 0%, 38%)
CIE-LABlab(34.71, 49.56, -47.16)
CIE-LCHlch(34.71, 68.41, 316.42°)
OKLaboklab(45.9% 0.1143 -0.1333)
OKLCHoklch(45.9% 0.176 310.6)
XYZxyz(14.6581, 8.3535, 33.1813)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F9E #579E2F
analogous
#3E2F9E #762F9E #9E2F8F
triadic
#762F9E #9E762F #2F9E76
tetradic
#762F9E #9E3E2F #579E2F #2F8F9E
square
#762F9E #9E3E2F #579E2F #2F8F9E
split-complementary
#762F9E #8F9E2F #2F9E3E
monochromatic
#301340 #53216F #762F9E #9843C7 #B272D5

Accessibility & contrast

On white

7.86
#762F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762F9E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F9E#FFFFFF#000000##FFFFFF
##762F9E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#714763
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762f9e;
/* rgb */ color: rgb(118, 47, 158);
/* oklch */ color: oklch(45.9% 0.176 310.6);
Tailwind
colors: {
  custom: {
    50: '#a16ebb',
    500: '#762f9e',
    950: '#000000',
  },
}
SCSS
$custom: #762f9e;
$custom-light: #a16ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#762f9e",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 278.378,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.17561,
    "h": 310.6
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#762F9E
secondary
#89BD6C
accent
#DE4A7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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