#762FA3#762FA3

#762FA3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.181 H 309.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#762FA3
RGBrgb(118, 47, 163)
HSLhsl(277, 55%, 41%)
HSVhsv(277, 71%, 64%)
CMYKcmyk(27.6%, 71.2%, 0%, 36.1%)
CIE-LABlab(35.06, 50.69, -49.61)
CIE-LCHlch(35.06, 70.93, 315.62°)
OKLaboklab(46.26% 0.1137 -0.1405)
OKLCHoklch(46.26% 0.181 309)
XYZxyz(15.0973, 8.5292, 35.4942)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FA3 #5CA32F
analogous
#3C2FA3 #762FA3 #A32F96
triadic
#762FA3 #A3762F #2FA376
tetradic
#762FA3 #A33C2F #5CA32F #2F96A3
square
#762FA3 #A33C2F #5CA32F #2F96A3
split-complementary
#762FA3 #96A32F #2FA33C
monochromatic
#311444 #542173 #762FA3 #9646CA #B175D7

Accessibility & contrast

On white

7.76
#762FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762FA3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FA3#FFFFFF#000000##FFFFFF
##762FA31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1553A0
Tritanopia (blue-blind)
#6F4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762fa3;
/* rgb */ color: rgb(118, 47, 163);
/* oklch */ color: oklch(46.3% 0.181 309.0);
Tailwind
colors: {
  custom: {
    50: '#a26ebf',
    500: '#762fa3',
    950: '#000000',
  },
}
SCSS
$custom: #762fa3;
$custom-light: #a26ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#762fa3",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 276.724,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46261,
    "c": 0.18075,
    "h": 309
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#762FA3
secondary
#8EBF6F
accent
#DF4983
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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