#762EA5#762EA5

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

Color values

HEX#762EA5
RGBrgb(118, 46, 165)
HSLhsl(276, 56%, 41%)
HSVhsv(276, 72%, 65%)
CMYKcmyk(28.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(35.05, 51.59, -50.83)
CIE-LCHlch(35.05, 72.43, 315.42°)
OKLaboklab(46.3% 0.1144 -0.1441)
OKLCHoklch(46.3% 0.184 308.5)
XYZxyz(15.2383, 8.5224, 36.4322)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA5 #5DA52E
analogous
#3B2EA5 #762EA5 #A52E99
triadic
#762EA5 #A5762E #2EA576
tetradic
#762EA5 #A53B2E #5DA52E #2E99A5
square
#762EA5 #A53B2E #5DA52E #2E99A5
split-complementary
#762EA5 #99A52E #2EA53B
monochromatic
#321345 #542175 #762EA5 #9645CB #B175D8

Accessibility & contrast

On white

7.77
#762EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#762EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA5#FFFFFF#000000##FFFFFF
##762EA51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0E53A2
Tritanopia (blue-blind)
#6F4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ea5;
/* rgb */ color: rgb(118, 46, 165);
/* oklch */ color: oklch(46.3% 0.184 308.5);
Tailwind
colors: {
  custom: {
    50: '#a26dc0',
    500: '#762ea5',
    950: '#000000',
  },
}
SCSS
$custom: #762ea5;
$custom-light: #a26dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea5",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 276.303,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46297,
    "c": 0.18402,
    "h": 308.5
  },
  "luminance": 0.08522
}

Semantic roles & 50–950 ramp

primary
#762EA5
secondary
#8FC06F
accent
#E04884
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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