#A762E9#A762E9

#A762E9 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.4% C 0.200 H 304.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A762E9
RGBrgb(167, 98, 233)
HSLhsl(271, 75%, 65%)
HSVhsv(271, 58%, 91%)
CMYKcmyk(28.3%, 57.9%, 0%, 8.6%)
CIE-LABlab(54.90, 52.80, -57.95)
CIE-LCHlch(54.90, 78.40, 312.34°)
OKLaboklab(63.37% 0.1144 -0.1637)
OKLCHoklch(63.37% 0.2 304.9)
XYZxyz(35.0088, 22.8342, 79.6381)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762E9 #A4E962
analogous
#6462E9 #A762E9 #E962E7
triadic
#A762E9 #E9A762 #62E9A7
tetradic
#A762E9 #E96462 #A4E962 #62E7E9
square
#A762E9 #E96462 #A4E962 #62E7E9
split-complementary
#A762E9 #E7E962 #62E964
monochromatic
#6A1AB7 #892CE1 #A762E9 #C598F1 #E3CDF8

Accessibility & contrast

On white

3.77
#A762E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A762E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762E9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762E9#FFFFFF#000000##000000
##A762E91.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781ED
Deuteranopia (green-blind)
#4684E6
Tritanopia (blue-blind)
#9C7D9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a762e9;
/* rgb */ color: rgb(167, 98, 233);
/* oklch */ color: oklch(63.4% 0.200 304.9);
Tailwind
colors: {
  custom: {
    50: '#c591f1',
    500: '#a762e9',
    950: '#000000',
  },
}
SCSS
$custom: #a762e9;
$custom-light: #c591f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a762e9",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 270.667,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.19966,
    "h": 304.9
  },
  "luminance": 0.22834
}

Semantic roles & 50–950 ramp

primary
#A762E9
secondary
#D3EABC
accent
#D80E71
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A762E9

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

Preview Lab → · Contrast checker → · Palette generator →

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