#A262EB#A262EB

#A262EB is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.0% C 0.201 H 302.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A262EB
RGBrgb(162, 98, 235)
HSLhsl(268, 77%, 65%)
HSVhsv(268, 58%, 92%)
CMYKcmyk(31.1%, 58.3%, 0%, 7.8%)
CIE-LABlab(54.46, 52.11, -59.81)
CIE-LCHlch(54.46, 79.32, 311.07°)
OKLaboklab(62.97% 0.108 -0.1693)
OKLCHoklch(62.97% 0.201 302.5)
XYZxyz(34.2599, 22.4149, 81.1027)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262EB #ABEB62
analogous
#6267EB #A262EB #E662EB
triadic
#A262EB #EBA262 #62EBA2
tetradic
#A262EB #EB6267 #ABEB62 #62EBE6
square
#A262EB #EB6267 #ABEB62 #62EBE6
split-complementary
#A262EB #EBE662 #67EB62
monochromatic
#6418BB #822CE4 #A262EB #C298F2 #E2CFF9

Accessibility & contrast

On white

3.83
#A262EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#A262EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262EB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262EB#FFFFFF#000000##000000
##A262EB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#947E9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a262eb;
/* rgb */ color: rgb(162, 98, 235);
/* oklch */ color: oklch(63.0% 0.201 302.5);
Tailwind
colors: {
  custom: {
    50: '#c291f2',
    500: '#a262eb',
    950: '#000000',
  },
}
SCSS
$custom: #a262eb;
$custom-light: #c291f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a262eb",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 268.029,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.20078,
    "h": 302.5
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#A262EB
secondary
#D6EBBD
accent
#DA0C7A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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