#762CAA#762CAA

#762CAA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.191 H 307.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#762CAA
RGBrgb(118, 44, 170)
HSLhsl(275, 59%, 42%)
HSVhsv(275, 74%, 67%)
CMYKcmyk(30.6%, 74.1%, 0%, 33.3%)
CIE-LABlab(35.11, 53.59, -53.73)
CIE-LCHlch(35.11, 75.89, 314.93°)
OKLaboklab(46.46% 0.1156 -0.1526)
OKLCHoklch(46.46% 0.191 307.1)
XYZxyz(15.6260, 8.5554, 38.8506)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CAA #60AA2C
analogous
#372CAA #762CAA #AA2C9F
triadic
#762CAA #AA762C #2CAA76
tetradic
#762CAA #AA372C #60AA2C #2C9FAA
square
#762CAA #AA372C #60AA2C #2C9FAA
split-complementary
#762CAA #9FAA2C #2CAA37
monochromatic
#331349 #541F79 #762CAA #9644CF #B175DB

Accessibility & contrast

On white

7.75
#762CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#762CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CAA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CAA#FFFFFF#000000##FFFFFF
##762CAA1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#6D4A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762caa;
/* rgb */ color: rgb(118, 44, 170);
/* oklch */ color: oklch(46.5% 0.191 307.1);
Tailwind
colors: {
  custom: {
    50: '#a26cc4',
    500: '#762caa',
    950: '#000000',
  },
}
SCSS
$custom: #762caa;
$custom-light: #a26cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#762caa",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 275.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.19145,
    "h": 307.1
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#762CAA
secondary
#92C36F
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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