#762EA3#762EA3

#762EA3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.1% C 0.182 H 309.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#762EA3
RGBrgb(118, 46, 163)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(27.6%, 71.8%, 0%, 36.1%)
CIE-LABlab(34.90, 51.14, -49.86)
CIE-LCHlch(34.90, 71.42, 315.72°)
OKLaboklab(46.15% 0.1147 -0.1413)
OKLCHoklch(46.15% 0.182 309.1)
XYZxyz(15.0577, 8.4502, 35.4810)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA3 #5BA32E
analogous
#3B2EA3 #762EA3 #A32E95
triadic
#762EA3 #A3762E #2EA376
tetradic
#762EA3 #A33B2E #5BA32E #2E95A3
square
#762EA3 #A33B2E #5BA32E #2E95A3
split-complementary
#762EA3 #95A32E #2EA33B
monochromatic
#311344 #532173 #762EA3 #9744CA #B174D8

Accessibility & contrast

On white

7.81
#762EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#762EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA3#FFFFFF#000000##FFFFFF
##762EA31.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762ea3;
/* rgb */ color: rgb(118, 46, 163);
/* oklch */ color: oklch(46.1% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#a26dbf',
    500: '#762ea3',
    950: '#000000',
  },
}
SCSS
$custom: #762ea3;
$custom-light: #a26dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea3",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 276.923,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46149,
    "c": 0.18199,
    "h": 309.1
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #762EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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