#762FA7#762FA7

#762FA7 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.185 H 307.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#762FA7
RGBrgb(118, 47, 167)
HSLhsl(276, 56%, 42%)
HSVhsv(276, 72%, 65%)
CMYKcmyk(29.3%, 71.9%, 0%, 34.5%)
CIE-LABlab(35.35, 51.61, -51.55)
CIE-LCHlch(35.35, 72.94, 315.03°)
OKLaboklab(46.56% 0.1131 -0.1462)
OKLCHoklch(46.56% 0.185 307.7)
XYZxyz(15.4613, 8.6748, 37.4116)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FA7 #60A72F
analogous
#3A2FA7 #762FA7 #A72F9C
triadic
#762FA7 #A7762F #2FA776
tetradic
#762FA7 #A73A2F #60A72F #2F9CA7
square
#762FA7 #A73A2F #60A72F #2F9CA7
split-complementary
#762FA7 #9CA72F #2FA73A
monochromatic
#331447 #542277 #762FA7 #9648CB #B178D9

Accessibility & contrast

On white

7.68
#762FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#762FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FA7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FA7#FFFFFF#000000##FFFFFF
##762FA71.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0A54A4
Tritanopia (blue-blind)
#6E4A68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762fa7;
/* rgb */ color: rgb(118, 47, 167);
/* oklch */ color: oklch(46.6% 0.185 307.7);
Tailwind
colors: {
  custom: {
    50: '#a26ec2',
    500: '#762fa7',
    950: '#000000',
  },
}
SCSS
$custom: #762fa7;
$custom-light: #a26ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#762fa7",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 275.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.18485,
    "h": 307.7
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#762FA7
secondary
#92C171
accent
#DF4886
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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