#762FAA#762FAA

#762FAA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.188 H 306.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#762FAA
RGBrgb(118, 47, 170)
HSLhsl(275, 57%, 43%)
HSVhsv(275, 72%, 67%)
CMYKcmyk(30.6%, 72.4%, 0%, 33.3%)
CIE-LABlab(35.57, 52.30, -52.99)
CIE-LCHlch(35.57, 74.45, 314.62°)
OKLaboklab(46.79% 0.1126 -0.1504)
OKLCHoklch(46.79% 0.188 306.8)
XYZxyz(15.7419, 8.7870, 38.8892)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FAA #63AA2F
analogous
#382FAA #762FAA #AA2FA1
triadic
#762FAA #AA762F #2FAA76
tetradic
#762FAA #AA382F #63AA2F #2FA1AA
square
#762FAA #AA382F #63AA2F #2FA1AA
split-complementary
#762FAA #A1AA2F #2FAA38
monochromatic
#33144A #55227A #762FAA #9549CD #B179DA

Accessibility & contrast

On white

7.62
#762FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FAA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FAA#FFFFFF#000000##FFFFFF
##762FAA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6D4C69
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762faa;
/* rgb */ color: rgb(118, 47, 170);
/* oklch */ color: oklch(46.8% 0.188 306.8);
Tailwind
colors: {
  custom: {
    50: '#a26ec4',
    500: '#762faa',
    950: '#000000',
  },
}
SCSS
$custom: #762faa;
$custom-light: #a26ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#762faa",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 274.634,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.18793,
    "h": 306.8
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#762FAA
secondary
#94C272
accent
#E04888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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