#A262E1#A262E1

#A262E1 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.3% C 0.189 H 304.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A262E1
RGBrgb(162, 98, 225)
HSLhsl(270, 68%, 63%)
HSVhsv(270, 56%, 88%)
CMYKcmyk(28%, 56.4%, 0%, 11.8%)
CIE-LABlab(53.87, 49.74, -55.14)
CIE-LCHlch(53.87, 74.26, 312.05°)
OKLaboklab(62.34% 0.108 -0.1556)
OKLCHoklch(62.34% 0.189 304.8)
XYZxyz(32.8556, 21.8532, 73.7068)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262E1 #A1E162
analogous
#6262E1 #A262E1 #E162E0
triadic
#A262E1 #E1A262 #62E1A2
tetradic
#A262E1 #E16262 #A1E162 #62E0E1
square
#A262E1 #E16262 #A1E162 #62E0E1
split-complementary
#A262E1 #E0E162 #62E162
monochromatic
#6520A8 #842FD7 #A262E1 #C095EB #DFC9F5

Accessibility & contrast

On white

3.91
#A262E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A262E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262E1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262E1#FFFFFF#000000##000000
##A262E11.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#4981DE
Tritanopia (blue-blind)
#977B98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a262e1;
/* rgb */ color: rgb(162, 98, 225);
/* oklch */ color: oklch(62.3% 0.189 304.8);
Tailwind
colors: {
  custom: {
    50: '#c191eb',
    500: '#a262e1',
    950: '#000000',
  },
}
SCSS
$custom: #a262e1;
$custom-light: #c191eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a262e1",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 270.236,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6234,
    "c": 0.18937,
    "h": 304.8
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#A262E1
secondary
#CFE6B9
accent
#D01672
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262E1

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

Preview Lab → · Contrast checker → · Palette generator →

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