#762EA7#762EA7

#762EA7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.186 H 307.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#762EA7
RGBrgb(118, 46, 167)
HSLhsl(276, 57%, 42%)
HSVhsv(276, 72%, 65%)
CMYKcmyk(29.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(35.19, 52.05, -51.80)
CIE-LCHlch(35.19, 73.43, 315.14°)
OKLaboklab(46.45% 0.1141 -0.1469)
OKLCHoklch(46.45% 0.186 307.8)
XYZxyz(15.4218, 8.5958, 37.3985)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA7 #5FA72E
analogous
#392EA7 #762EA7 #A72E9C
triadic
#762EA7 #A7762E #2EA776
tetradic
#762EA7 #A7392E #5FA72E #2E9CA7
square
#762EA7 #A7392E #5FA72E #2E9CA7
split-complementary
#762EA7 #9CA72E #2EA739
monochromatic
#321447 #542177 #762EA7 #9646CC #B176D9

Accessibility & contrast

On white

7.72
#762EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#762EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EA7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA7#FFFFFF#000000##FFFFFF
##762EA71.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0653A4
Tritanopia (blue-blind)
#6E4A68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762ea7;
/* rgb */ color: rgb(118, 46, 167);
/* oklch */ color: oklch(46.4% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#a26dc2',
    500: '#762ea7',
    950: '#000000',
  },
}
SCSS
$custom: #762ea7;
$custom-light: #a26dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea7",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 275.702,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.18606,
    "h": 307.8
  },
  "luminance": 0.08596
}

Semantic roles & 50–950 ramp

primary
#762EA7
secondary
#91C170
accent
#E04885
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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