#762BA9#762BA9

#762BA9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.192 H 307.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#762BA9
RGBrgb(118, 43, 169)
HSLhsl(276, 59%, 42%)
HSVhsv(276, 75%, 66%)
CMYKcmyk(30.2%, 74.6%, 0%, 33.7%)
CIE-LABlab(34.89, 53.78, -53.49)
CIE-LCHlch(34.89, 75.85, 315.16°)
OKLaboklab(46.28% 0.1168 -0.1519)
OKLCHoklch(46.28% 0.192 307.5)
XYZxyz(15.4950, 8.4441, 38.3420)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BA9 #5EA92B
analogous
#372BA9 #762BA9 #A92B9D
triadic
#762BA9 #A9762B #2BA976
tetradic
#762BA9 #A9372B #5EA92B #2B9DA9
square
#762BA9 #A9372B #5EA92B #2B9DA9
split-complementary
#762BA9 #9DA92B #2BA937
monochromatic
#321247 #541F78 #762BA9 #9642CF #B173DB

Accessibility & contrast

On white

7.81
#762BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#762BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BA9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BA9#FFFFFF#000000##FFFFFF
##762BA91.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#6E4968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ba9;
/* rgb */ color: rgb(118, 43, 169);
/* oklch */ color: oklch(46.3% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#a26cc3',
    500: '#762ba9',
    950: '#000000',
  },
}
SCSS
$custom: #762ba9;
$custom-light: #a26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#762ba9",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 275.714,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4628,
    "c": 0.19158,
    "h": 307.5
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#762BA9
secondary
#90C36D
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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