#A262EA#A262EA

#A262EA is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.9% C 0.200 H 302.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A262EA
RGBrgb(162, 98, 234)
HSLhsl(268, 76%, 65%)
HSVhsv(268, 58%, 92%)
CMYKcmyk(30.8%, 58.1%, 0%, 8.2%)
CIE-LABlab(54.40, 51.87, -59.34)
CIE-LCHlch(54.40, 78.82, 311.16°)
OKLaboklab(62.9% 0.108 -0.1679)
OKLCHoklch(62.9% 0.2 302.8)
XYZxyz(34.1159, 22.3573, 80.3440)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262EA #AAEA62
analogous
#6266EA #A262EA #E662EA
triadic
#A262EA #EAA262 #62EAA2
tetradic
#A262EA #EA6266 #AAEA62 #62EAE6
square
#A262EA #EA6266 #AAEA62 #62EAE6
split-complementary
#A262EA #EAE662 #66EA62
monochromatic
#6419B9 #822CE3 #A262EA #C298F1 #E2CEF8

Accessibility & contrast

On white

3.84
#A262EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A262EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262EA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262EA#FFFFFF#000000##000000
##A262EA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#947D9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a262ea;
/* rgb */ color: rgb(162, 98, 234);
/* oklch */ color: oklch(62.9% 0.200 302.8);
Tailwind
colors: {
  custom: {
    50: '#c291f1',
    500: '#a262ea',
    950: '#000000',
  },
}
SCSS
$custom: #a262ea;
$custom-light: #c291f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a262ea",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 268.235,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62902,
    "c": 0.19964,
    "h": 302.8
  },
  "luminance": 0.22357
}

Semantic roles & 50–950 ramp

primary
#A262EA
secondary
#D5EBBD
accent
#D90D79
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262EA

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

Preview Lab → · Contrast checker → · Palette generator →

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