#A762EB#A762EB

#A762EB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.5% C 0.202 H 304.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A762EB
RGBrgb(167, 98, 235)
HSLhsl(270, 77%, 65%)
HSVhsv(270, 58%, 92%)
CMYKcmyk(28.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(55.02, 53.27, -58.88)
CIE-LCHlch(55.02, 79.40, 312.13°)
OKLaboklab(63.5% 0.1143 -0.1664)
OKLCHoklch(63.5% 0.202 304.5)
XYZxyz(35.2961, 22.9492, 81.1513)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762EB #A6EB62
analogous
#6262EB #A762EB #EB62EA
triadic
#A762EB #EBA762 #62EBA7
tetradic
#A762EB #EB6262 #A6EB62 #62EAEB
square
#A762EB #EB6262 #A6EB62 #62EAEB
split-complementary
#A762EB #EAEB62 #62EB62
monochromatic
#6A18BB #892CE4 #A762EB #C598F2 #E4CFF9

Accessibility & contrast

On white

3.76
#A762EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A762EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762EB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762EB#FFFFFF#000000##000000
##A762EB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#9B7D9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a762eb;
/* rgb */ color: rgb(167, 98, 235);
/* oklch */ color: oklch(63.5% 0.202 304.5);
Tailwind
colors: {
  custom: {
    50: '#c591f2',
    500: '#a762eb',
    950: '#000000',
  },
}
SCSS
$custom: #a762eb;
$custom-light: #c591f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a762eb",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 270.219,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.2019,
    "h": 304.5
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#A762EB
secondary
#D4EBBD
accent
#DA0C72
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A762EB

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

Preview Lab → · Contrast checker → · Palette generator →

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