#762A9E#762A9E

#762A9E is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.182 H 311.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#762A9E
RGBrgb(118, 42, 158)
HSLhsl(279, 58%, 39%)
HSVhsv(279, 73%, 62%)
CMYKcmyk(25.3%, 73.4%, 0%, 38%)
CIE-LABlab(33.93, 51.75, -48.41)
CIE-LCHlch(33.93, 70.86, 316.91°)
OKLaboklab(45.35% 0.1196 -0.137)
OKLCHoklch(45.35% 0.182 311.1)
XYZxyz(14.4696, 7.9765, 33.1185)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A9E #529E2A
analogous
#3C2A9E #762A9E #9E2A8C
triadic
#762A9E #9E762A #2A9E76
tetradic
#762A9E #9E3C2A #529E2A #2A8C9E
square
#762A9E #9E3C2A #529E2A #2A8C9E
split-complementary
#762A9E #8C9E2A #2A9E3C
monochromatic
#2E103D #521D6E #762A9E #993ACB #B26BD8

Accessibility & contrast

On white

8.09
#762A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#762A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762A9E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A9E#FFFFFF#000000##FFFFFF
##762A9E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#17519C
Tritanopia (blue-blind)
#714461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762a9e;
/* rgb */ color: rgb(118, 42, 158);
/* oklch */ color: oklch(45.3% 0.182 311.1);
Tailwind
colors: {
  custom: {
    50: '#a26bbb',
    500: '#762a9e',
    950: '#000000',
  },
}
SCSS
$custom: #762a9e;
$custom-light: #a26bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#762a9e",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 279.31,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.18182,
    "h": 311.1
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#762A9E
secondary
#84BE66
accent
#E1477C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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