#A762E8#A762E8

#A762E8 is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.3% C 0.199 H 305.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A762E8
RGBrgb(167, 98, 232)
HSLhsl(271, 74%, 65%)
HSVhsv(271, 58%, 91%)
CMYKcmyk(28%, 57.8%, 0%, 9%)
CIE-LABlab(54.84, 52.57, -57.49)
CIE-LCHlch(54.84, 77.90, 312.44°)
OKLaboklab(63.31% 0.1144 -0.1623)
OKLCHoklch(63.31% 0.199 305.2)
XYZxyz(34.8664, 22.7773, 78.8879)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762E8 #A3E862
analogous
#6462E8 #A762E8 #E862E6
triadic
#A762E8 #E8A762 #62E8A7
tetradic
#A762E8 #E86462 #A3E862 #62E6E8
square
#A762E8 #E86462 #A3E862 #62E6E8
split-complementary
#A762E8 #E6E862 #62E864
monochromatic
#6A1BB5 #892DE0 #A762E8 #C597F0 #E3CDF8

Accessibility & contrast

On white

3.78
#A762E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A762E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762E8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762E8#FFFFFF#000000##000000
##A762E81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EC
Deuteranopia (green-blind)
#4783E5
Tritanopia (blue-blind)
#9C7C9C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a762e8;
/* rgb */ color: rgb(167, 98, 232);
/* oklch */ color: oklch(63.3% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#c591f0',
    500: '#a762e8',
    950: '#000000',
  },
}
SCSS
$custom: #a762e8;
$custom-light: #c591f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a762e8",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 270.896,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.19854,
    "h": 305.2
  },
  "luminance": 0.22777
}

Semantic roles & 50–950 ramp

primary
#A762E8
secondary
#D2EABC
accent
#D70F70
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A762E8

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

Preview Lab → · Contrast checker → · Palette generator →

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