#762EA8#762EA8

#762EA8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.187 H 307.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#762EA8
RGBrgb(118, 46, 168)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 73%, 66%)
CMYKcmyk(29.8%, 72.6%, 0%, 34.1%)
CIE-LABlab(35.27, 52.28, -52.28)
CIE-LCHlch(35.27, 73.93, 315.00°)
OKLaboklab(46.52% 0.114 -0.1484)
OKLCHoklch(46.52% 0.187 307.5)
XYZxyz(15.5146, 8.6329, 37.8872)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EA8 #60A82E
analogous
#392EA8 #762EA8 #A82E9D
triadic
#762EA8 #A8762E #2EA876
tetradic
#762EA8 #A8392E #60A82E #2E9DA8
square
#762EA8 #A8392E #60A82E #2E9DA8
split-complementary
#762EA8 #9DA82E #2EA839
monochromatic
#331448 #542178 #762EA8 #9647CD #B177DA

Accessibility & contrast

On white

7.70
#762EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762EA8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EA8#FFFFFF#000000##FFFFFF
##762EA81.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0354A5
Tritanopia (blue-blind)
#6E4A68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762ea8;
/* rgb */ color: rgb(118, 46, 168);
/* oklch */ color: oklch(46.5% 0.187 307.5);
Tailwind
colors: {
  custom: {
    50: '#a26dc3',
    500: '#762ea8',
    950: '#000000',
  },
}
SCSS
$custom: #762ea8;
$custom-light: #a26dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#762ea8",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 275.41,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46523,
    "c": 0.18708,
    "h": 307.5
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#762EA8
secondary
#92C270
accent
#E04886
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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