#A762E4#A762E4

#A762E4 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.194 H 306.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A762E4
RGBrgb(167, 98, 228)
HSLhsl(272, 71%, 64%)
HSVhsv(272, 57%, 89%)
CMYKcmyk(26.8%, 57%, 0%, 10.6%)
CIE-LABlab(54.61, 51.65, -55.62)
CIE-LCHlch(54.61, 75.90, 312.88°)
OKLaboklab(63.06% 0.1143 -0.1568)
OKLCHoklch(63.06% 0.194 306.1)
XYZxyz(34.3047, 22.5526, 75.9296)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762E4 #9FE462
analogous
#6662E4 #A762E4 #E462E0
triadic
#A762E4 #E4A762 #62E4A7
tetradic
#A762E4 #E46662 #9FE462 #62E0E4
square
#A762E4 #E46662 #9FE462 #62E0E4
split-complementary
#A762E4 #E0E462 #62E466
monochromatic
#6A1EAE #8A2EDB #A762E4 #C496ED #E2CAF6

Accessibility & contrast

On white

3.81
#A762E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A762E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762E4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762E4#FFFFFF#000000##000000
##A762E41.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#9D7B9A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a762e4;
/* rgb */ color: rgb(167, 98, 228);
/* oklch */ color: oklch(63.1% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#c591ed',
    500: '#a762e4',
    950: '#000000',
  },
}
SCSS
$custom: #a762e4;
$custom-light: #c591ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a762e4",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 271.846,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63062,
    "c": 0.19406,
    "h": 306.1
  },
  "luminance": 0.22552
}

Semantic roles & 50–950 ramp

primary
#A762E4
secondary
#CFE8BA
accent
#D3136D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A762E4

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

Preview Lab → · Contrast checker → · Palette generator →

#A762E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva