#762A9F#762A9F

#762A9F is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.183 H 310.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#762A9F
RGBrgb(118, 42, 159)
HSLhsl(279, 58%, 39%)
HSVhsv(279, 74%, 62%)
CMYKcmyk(25.8%, 73.6%, 0%, 37.6%)
CIE-LABlab(34.01, 51.97, -48.90)
CIE-LCHlch(34.01, 71.36, 316.74°)
OKLaboklab(45.42% 0.1194 -0.1384)
OKLCHoklch(45.42% 0.183 310.8)
XYZxyz(14.5560, 8.0110, 33.5737)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762A9F #539F2A
analogous
#3B2A9F #762A9F #9F2A8E
triadic
#762A9F #9F762A #2A9F76
tetradic
#762A9F #9F3B2A #539F2A #2A8E9F
square
#762A9F #9F3B2A #539F2A #2A8E9F
split-complementary
#762A9F #8E9F2A #2A9F3B
monochromatic
#2E103E #521D6F #762A9F #993BCB #B26BD8

Accessibility & contrast

On white

8.07
#762A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762A9F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762A9F#FFFFFF#000000##FFFFFF
##762A9F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#714462
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762a9f;
/* rgb */ color: rgb(118, 42, 159);
/* oklch */ color: oklch(45.4% 0.183 310.8);
Tailwind
colors: {
  custom: {
    50: '#a26bbc',
    500: '#762a9f',
    950: '#000000',
  },
}
SCSS
$custom: #762a9f;
$custom-light: #a26bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#762a9f",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 278.974,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.18281,
    "h": 310.8
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#762A9F
secondary
#85BF66
accent
#E1467D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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