#762DA3#762DA3

#762DA3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.183 H 309.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#762DA3
RGBrgb(118, 45, 163)
HSLhsl(277, 57%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(27.6%, 72.4%, 0%, 36.1%)
CIE-LABlab(34.75, 51.58, -50.12)
CIE-LCHlch(34.75, 71.91, 315.82°)
OKLaboklab(46.04% 0.1158 -0.142)
OKLCHoklch(46.04% 0.183 309.2)
XYZxyz(15.0191, 8.3729, 35.4682)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DA3 #5AA32D
analogous
#3B2DA3 #762DA3 #A32D95
triadic
#762DA3 #A3762D #2DA376
tetradic
#762DA3 #A33B2D #5AA32D #2D95A3
square
#762DA3 #A33B2D #5AA32D #2D95A3
split-complementary
#762DA3 #95A32D #2DA33B
monochromatic
#311343 #532073 #762DA3 #9742CB #B172D8

Accessibility & contrast

On white

7.85
#762DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#762DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DA3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DA3#FFFFFF#000000##FFFFFF
##762DA31.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1153A0
Tritanopia (blue-blind)
#6F4865
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762da3;
/* rgb */ color: rgb(118, 45, 163);
/* oklch */ color: oklch(46.0% 0.183 309.2);
Tailwind
colors: {
  custom: {
    50: '#a26dbf',
    500: '#762da3',
    950: '#000000',
  },
}
SCSS
$custom: #762da3;
$custom-light: #a26dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#762da3",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 277.119,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.18321,
    "h": 309.2
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#762DA3
secondary
#8CC06C
accent
#E04882
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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