#A762EC#A762EC

#A762EC is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.203 H 304.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A762EC
RGBrgb(167, 98, 236)
HSLhsl(270, 78%, 65%)
HSVhsv(270, 58%, 93%)
CMYKcmyk(29.2%, 58.5%, 0%, 7.5%)
CIE-LABlab(55.08, 53.50, -59.35)
CIE-LCHlch(55.08, 79.90, 312.04°)
OKLaboklab(63.56% 0.1143 -0.1678)
OKLCHoklch(63.56% 0.203 304.3)
XYZxyz(35.4410, 23.0071, 81.9143)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762EC #A7EC62
analogous
#6262EC #A762EC #EC62EC
triadic
#A762EC #ECA762 #62ECA7
tetradic
#A762EC #EC6262 #A7EC62 #62ECEC
square
#A762EC #EC6262 #A7EC62 #62ECEC
split-complementary
#A762EC #ECEC62 #62EC62
monochromatic
#6A17BD #882BE5 #A762EC #C699F3 #E4CFF9

Accessibility & contrast

On white

3.75
#A762EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A762EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762EC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762EC#FFFFFF#000000##000000
##A762EC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2182F0
Deuteranopia (green-blind)
#4384E9
Tritanopia (blue-blind)
#9B7E9E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a762ec;
/* rgb */ color: rgb(167, 98, 236);
/* oklch */ color: oklch(63.6% 0.203 304.3);
Tailwind
colors: {
  custom: {
    50: '#c591f3',
    500: '#a762ec',
    950: '#000000',
  },
}
SCSS
$custom: #a762ec;
$custom-light: #c591f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a762ec",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.20301,
    "h": 304.3
  },
  "luminance": 0.23007
}

Semantic roles & 50–950 ramp

primary
#A762EC
secondary
#D5ECBE
accent
#DB0B73
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A762EC

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

Preview Lab → · Contrast checker → · Palette generator →

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