#762BAD#762BAD

#762BAD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.196 H 306.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#762BAD
RGBrgb(118, 43, 173)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 68%)
CMYKcmyk(31.8%, 75.1%, 0%, 32.2%)
CIE-LABlab(35.20, 54.69, -55.39)
CIE-LCHlch(35.20, 77.84, 314.64°)
OKLaboklab(46.59% 0.116 -0.1575)
OKLCHoklch(46.59% 0.196 306.4)
XYZxyz(15.8763, 8.5966, 40.3500)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BAD #62AD2B
analogous
#352BAD #762BAD #AD2BA3
triadic
#762BAD #AD762B #2BAD76
tetradic
#762BAD #AD352B #62AD2B #2BA3AD
square
#762BAD #AD352B #62AD2B #2BA3AD
split-complementary
#762BAD #A3AD2B #2BAD35
monochromatic
#33134B #551F7C #762BAD #9545D1 #B176DD

Accessibility & contrast

On white

7.72
#762BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#762BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BAD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BAD#FFFFFF#000000##FFFFFF
##762BAD1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#6C4B6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762bad;
/* rgb */ color: rgb(118, 43, 173);
/* oklch */ color: oklch(46.6% 0.196 306.4);
Tailwind
colors: {
  custom: {
    50: '#a36cc6',
    500: '#762bad',
    950: '#000000',
  },
}
SCSS
$custom: #762bad;
$custom-light: #a36cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#762bad",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 274.615,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.19557,
    "h": 306.4
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#762BAD
secondary
#93C46F
accent
#E34488
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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