#A262EC#A262EC

#A262EC is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.0% C 0.202 H 302.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A262EC
RGBrgb(162, 98, 236)
HSLhsl(268, 78%, 65%)
HSVhsv(268, 58%, 93%)
CMYKcmyk(31.4%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.53, 52.35, -60.27)
CIE-LCHlch(54.53, 79.83, 310.98°)
OKLaboklab(63.03% 0.108 -0.1706)
OKLCHoklch(63.03% 0.202 302.3)
XYZxyz(34.4048, 22.4728, 81.8658)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262EC #ACEC62
analogous
#6267EC #A262EC #E762EC
triadic
#A262EC #ECA262 #62ECA2
tetradic
#A262EC #EC6267 #ACEC62 #62ECE7
square
#A262EC #EC6267 #ACEC62 #62ECE7
split-complementary
#A262EC #ECE762 #67EC62
monochromatic
#6417BD #822BE5 #A262EC #C299F3 #E3CFF9

Accessibility & contrast

On white

3.82
#A262EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#A262EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262EC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262EC#FFFFFF#000000##000000
##A262EC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#947E9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a262ec;
/* rgb */ color: rgb(162, 98, 236);
/* oklch */ color: oklch(63.0% 0.202 302.3);
Tailwind
colors: {
  custom: {
    50: '#c291f3',
    500: '#a262ec',
    950: '#000000',
  },
}
SCSS
$custom: #a262ec;
$custom-light: #c291f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a262ec",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 267.826,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.63029,
    "c": 0.20193,
    "h": 302.3
  },
  "luminance": 0.22473
}

Semantic roles & 50–950 ramp

primary
#A262EC
secondary
#D7ECBE
accent
#DB0B7A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262EC

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

Preview Lab → · Contrast checker → · Palette generator →

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