#A262E4#A262E4

#A262E4 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.193 H 304.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A262E4
RGBrgb(162, 98, 228)
HSLhsl(270, 71%, 64%)
HSVhsv(270, 57%, 89%)
CMYKcmyk(28.9%, 57%, 0%, 10.6%)
CIE-LABlab(54.05, 50.45, -56.55)
CIE-LCHlch(54.05, 75.78, 311.74°)
OKLaboklab(62.53% 0.108 -0.1597)
OKLCHoklch(62.53% 0.193 304.1)
XYZxyz(33.2685, 22.0183, 75.8810)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262E4 #A4E462
analogous
#6263E4 #A262E4 #E362E4
triadic
#A262E4 #E4A262 #62E4A2
tetradic
#A262E4 #E46263 #A4E462 #62E4E3
square
#A262E4 #E46263 #A4E462 #62E4E3
split-complementary
#A262E4 #E4E362 #63E462
monochromatic
#651EAE #832EDB #A262E4 #C196ED #E0CAF6

Accessibility & contrast

On white

3.89
#A262E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A262E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262E4#FFFFFF#000000##000000
##A262E41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E8
Deuteranopia (green-blind)
#4681E1
Tritanopia (blue-blind)
#967C9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a262e4;
/* rgb */ color: rgb(162, 98, 228);
/* oklch */ color: oklch(62.5% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#c191ed',
    500: '#a262e4',
    950: '#000000',
  },
}
SCSS
$custom: #a262e4;
$custom-light: #c191ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a262e4",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 269.538,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62525,
    "c": 0.1928,
    "h": 304.1
  },
  "luminance": 0.22018
}

Semantic roles & 50–950 ramp

primary
#A262E4
secondary
#D1E8BA
accent
#D31374
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262E4

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

Preview Lab → · Contrast checker → · Palette generator →

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